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]>
![]() | ![]()
Sent by: [EMAIL PROTECTED] 04/17/2006 10:00 PM | ![]() To: perl-win32-users@listserv.ActiveState.com cc: Subject: breaking out of a for/foreach loop... |
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://listserv.ActiveState.com/mailman/mysubs
The information contained in this message may be CONFIDENTIAL and is for the intended addressee only. Any unauthorized use, dissemination of the information, or copying of this message is prohibited. If you are not the intended addressee, please notify the sender immediately and delete this message.
_______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs