Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: List::MoreUtils::first_value() question

by BrowserUk (Pope)
on Jul 30, 2013 at 15:15 UTC ( #1047053=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use List::Util qw[ first ];;
    use List::MoreUtils qw[ first_value ];;
    ...
    
    $x = first_value{ defined( x( $_ ) ) } 1, undef, 3;;
    <<<1>>>
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2014-12-29 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (184 votes), past polls