Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Flag variables

by blakem (Monsignor)
on Mar 03, 2003 at 10:58 UTC ( #239997=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if (grep {$_ eq "foo"} @somearray) {
       someaction();
    }
    
  2. or download this
    someaction() if grep {$_ eq "foo"} @somearray;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (15)
As of 2014-07-31 18:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (250 votes), past polls