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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to