perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Wilder" <ste...@matrixinteractive.net>
Subject [$ sub $] returning extra Zero
Date Wed, 24 Mar 2004 20:06:25 GMT

  Hello.

  I can't seem to figure why my [$ sub $]'s are consistently giving me back
an extra trailing zero.


Source code from http://www.m8rix.net/try1.phtml Looks like this:
------------------------------------------------
<html>
<body>

[$ sub try1 $][+ shift +][$ endsub $]
[$ sub try2 $]<b>Hello</b>[$ endsub $]

<p>
'[+ try2 +]'
<p>
'[+ try1("try this...") +]'
<p>
[- $hmmm = try1(5) -]
[+ $hmmm +]
<p>

</body>
</html>
------------------------------------------------

Output from Browser/ embpexec.pl Looks like this:
------------------------------------------------
<html>
<body>

<p>
'<b>Hello</b>0'
<p>
'try this...0'
<p>
50
<p>

</body>
</html>
------------------------------------------------

Any idea where that extra "0" coming from?  Or how I stop it?

BTW, I am running:
Perl          5.8.3
Apache        1.3.29
mod_perl      1.29
HTML::Embperl 1.3.6

Thanks,

Steve Wilder

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.627 / Virus Database: 402 - Release Date: 3/16/04


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message