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] bruce [EMAIL

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

2006-04-18 Thread
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 (@array) { if (condition met) { goto Label; } } LABEL: ... Hope this helps

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: