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?
[ambrus]: Corion: exactly. by pre-forking you avoid that, because you spawn processes from a smaller process that never uses threads and is kept only to spawn things
[ambrus]: (and to wait for the spawned stuff)

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2017-10-19 15:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (255 votes). Check out past polls.

    Notices?