Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 lurking in the Monastery: (7)
As of 2016-09-28 19:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (538 votes). Check out past polls.