Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 romping around the Monastery: (9)
As of 2017-12-17 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (465 votes). Check out past polls.

    Notices?