Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2017-08-23 15:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (353 votes). Check out past polls.

    Notices?