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
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
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
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