Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^4: Smartmatch alternatives

by LanX (Bishop)
on Dec 17, 2013 at 16:13 UTC ( #1067489=note: print w/replies, xml ) Need Help??


in reply to Re^3: Smartmatch alternatives
in thread Smartmatch alternatives

OK your CPAN- version doesn't show it in the synopsis

SYNOPSIS use List::Util qw(first max maxstr min minstr reduce shuffle sum);

and my 5.10 version does only list it as suggested.

Anyway good news! (for me at least =)

Cheers Rolf

( addicted to the Perl Programming Language)

Replies are listed 'Best First'.
Re^5: Smartmatch alternatives
by davido (Archbishop) on Dec 17, 2013 at 16:25 UTC

    :) Let's just say that whether one uses List::Util::any, or List::MoreUtils::any, it's a good idea to use "any" when "any" semantics are what is wanted.


    Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1067489]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-09-19 12:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (220 votes). Check out past polls.

    Notices?