http://www.perlmonks.org?node_id=1067489


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 (Cardinal) 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