Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2017-03-28 01:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (326 votes). Check out past polls.