Re: Re: breaking out of a for/foreach loop...

2006-04-18 Thread Hugh Loebner
s is the same thing as executing a GOTO > statement to a label outside the loops, but it seems cleaner in the code. > > -dZ. > > - Original Message - > From: [EMAIL PROTECTED] > Sent: 4/18/2006 9:58:15 AM > To: [EMAIL PROTECTED] > Cc: perl-win32-users@lis

Re: Re: breaking out of a for/foreach loop...

2006-04-18 Thread
ROTECTED] Sent: 4/18/2006 9:58:15 AM To: [EMAIL PROTECTED] Cc: perl-win32-users@listserv.ActiveState.com;[EMAIL PROTECTED] Subject: Re: breaking out of a for/foreach loop... > > Bruce, > > You can use a "Label" and a "goto" statement. > > > for (@arra

Re: breaking out of a for/foreach loop...

2006-04-18 Thread dkazatsky
Bruce, You can use a "Label" and a "goto" statement. for (@array) { if (condition met) { goto Label; } } LABEL: ... Hope this helps. Dave Kazatsky Senior Middleware Engineer NSE - Solutions Engineering W. (732) 893-4351 C. (973) 865-8106 ">"bruce" <[EMAIL PROTECTED]> "bru

Re: breaking out of a for/foreach loop...

2006-04-17 Thread Foo Ji-Haw
last? bruce wrote: ok.. i'm embarassed.. how does one break out of a for/foreach loop?? i thought it was exit/break... pointers? thanks -bruce ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://li