perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel <embp...@7thfire.com>
Subject Re: apache/1.3.6 to lighttpd/2.2.0 issues
Date Mon, 24 Apr 2006 18:31:18 GMT
On Mon, Apr 24, 2006 at 11:18:24AM -0700, Daniel wrote:
> I'm moving things around, and since I'm doing that anyway, I decided to
> move to 2.2.0. Now I'm seeing something rather unexpected:
> 
> Here's my epl file (I used the example from:
> http://perl.apache.org/embperl/pod/doc/Embperl.-page-3-.htm#sect_2)
> 
> - @arr = (1, 3, 5) -]
> [$ foreach $v @arr $]
> [+ $v +] <BR>
> [$ endforeach $]

I wonder if this is another documentation issue, or just somethign weird
for me.

 [- @arr = (1, 3, 5) -]
 [$ foreach $v (@arr) $]
 [+ $v +] <BR>
 [$ endforeach $]

works fine. Note the added () around @arr.

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


Mime
View raw message