Jason,
I just brought up this topic last week. :) See the thread 'Embperl: loop
control bug.' Gerald has placed getting Embperl to deal with loop control
statements on the TODO list.
Regards,
Christian
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
> Behalf Of Jason Bodnar
> Sent: Tuesday, February 08, 2000 5:45 PM
> To: mod_perl list
> Subject: [HTML::Embperl] last and next with [$ while $]?
>
>
> Is there a way to use last or next when using Embperl's built
> in loops and
> blocks.
>
> For example, I've tried something like this:
>
> [$ while $i != 10 $]
> [- $i++; last if $i == 5 -]
> [$ endwhile $]
>
> (I know it's a dumb example)
>
> But I get the following error:
>
> Can't "last" outside block.
>
> ---
> Jason Bodnar + [EMAIL PROTECTED] + Tivoli Systems
>
> I strive for greatness but will settle for mediocrity. -- Jason Bodnar
>
>