Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^4: Smartmatch alternatives

by LanX (Chancellor)
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.


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2016-10-24 04:47 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (303 votes). Check out past polls.