perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaak <varia...@hot.ee>
Subject next if
Date Sat, 12 Oct 2002 07:41:15 GMT
Hi!

I'm using...

[- @bar = ('a', 'b', 'c'); -]
[$ foreach $foo (@bar) $]
  [- next if ($foo eq 'c'); -]
  [+ $foo +]
[$ endforeach $]

But "next if" is not working.  
What am I doing wrong?

Embperl version is 2.0b8.

Thanks in advance.

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


Mime
View raw message