Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: if,if and again,if

by moritz (Cardinal)
on Aug 23, 2012 at 18:04 UTC ( #989364=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $category = first { ... } ... ;
    if ($category) {
        $category = $category->[1];
        print "[INFO] Category: $category\n";
    }
    
  2. or download this
    map $_->[1],
    grep $_,
    first { .... } ...;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2014-07-10 19:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (215 votes), past polls