http://qs321.pair.com?node_id=396956


in reply to Re: Preferred method of documentation? (One comment)
in thread Preferred method of documentation?

What do you think of all those nice ::Util modules? :) Not that I disagree with your opinion on big chunks of code in one file.

Replies are listed 'Best First'.
Re^3: Preferred method of documentation? (One comment)
by BrowserUk (Patriarch) on Oct 06, 2004 at 14:52 UTC

    It depends upon how you look at them. From the procedural point of view List::Util is a loosely related collection of disparete functions.

    If you take the OO view, then Perl's array's are a generic, ordered container class, and List::Util provides a set of extra methods.

    If only it were so easy to add a whole raft of new methods to every ordered collection type in the STL's of most other OO languages.

    I have to say that List::Util is my all-time, number-one, most used module. The only things it lacks from my perspective are mapn (also known as mapcar) and mapNbyM (to be known as zip in p6).


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    "Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon