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


in reply to Re^4: Miscellaneous.pm?
in thread Miscellaneous.pm?

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^6: Miscellaneous.pm?
by polettix (Vicar) on Mar 06, 2006 at 15:03 UTC
    I don't think to understand thoroughly, but it probably stems from the fact that I'm English impaired.

    About the syntax, it seems to me that the whole point of both List::Util and List::MoreUtils is to try and mimic the celebrated built-ins for dealing with lists, namely sort, grep and map. This is probably why the two modules are "poisoned with prototypes". The net effect is that you don't have to learn a new, particular syntax, just reuse what you're already comfortable with.

    About the interaction between the two modules, AFAIK the author of List::Util was not willing to include other functions inside it, and this basically led to List::MoreUtils. I wouldn't prepare and maintain a module if I wouldn't believe in what I'm putting into it :)

    Flavio
    perl -ple'$_=reverse' <<<ti.xittelop@oivalf

    Don't fool yourself.
    A reply falls below the community's threshold of quality. You may see it by logging in.