Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Flag variables

by zby (Vicar)
on Mar 03, 2003 at 10:53 UTC ( #239994=note: print w/replies, xml ) Need Help??


in reply to Flag variables

How about:
foreach my $var (@somearray){ if($var eq "foo"){ &someaction; last;} }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://239994]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2017-09-23 16:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (272 votes). Check out past polls.

    Notices?