On Thursday 04 March 2004 02:02 am, stephen kelly wrote: > hi there > what syntax do i use to jump out of a conditional loop > for c/java it break; return; what is it in perl syntax> > > thx > steve
while( ... ) { # or for, foreach, etc. ... last; # == break ... next; # == continue ... } Aloha => Beau; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>