Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Flag variables

by zby (Vicar)
on Mar 03, 2003 at 10:53 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://239994]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-25 23:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found