Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 browsing the Monastery: (7)
As of 2016-12-08 17:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (144 votes). Check out past polls.