Re: jump out of conditional loop

2004-03-04 Thread zsdc
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> perldoc -f last last LABEL lastThe "last" command is like the "break" statement in C (as used in loops); it immediately exits the

Re: jump out of conditional loop

2004-03-04 Thread Beau E. Cox
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; # ==

jump out of conditional loop

2004-03-04 Thread stephen kelly
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 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]