in reply to Re: Best way to "Skip" a set of operations
in thread Best way to "Skip" a set of operations
> If you are in a while loop, you can call ...(loop control)
No need for an explicit while loop, any nacked surrounding block is fine.
main::(-e:1): 0 DB<1> print 1 ; { last; print 2 }; print 3 13 DB<2>
See also perlsyn#Basic-BLOCKs
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
FootballPerl is like chess, only without the dice
|
|---|