Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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;} }


Comment on Re: Flag variables
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://239994]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (19)
As of 2014-09-19 16:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (143 votes), past polls