in reply to CPAN module fior common idioms?

There are just too many such idioms.

If you know what domain your problem is, you'll often find a module that doesn't do anything by itself but which contains many of the idioms in that domain. Examples include Scalar::Util, List::Util, Language::Functional, etc.

Replies are listed 'Best First'.
Re^2: CPAN module fior common idioms?
by Solo (Deacon) on Jul 22, 2004 at 19:52 UTC
    There are just too many such idioms.

    There are too many regular expressions, too. But that does not make Regexp::Common a bad idea.

    --Solo
    --
    You said you wanted to be around when I made a mistake; well, this could be it, sweetheart.
      What idioms would you put in such a module? Or, put another way, what modules would you include in such a module? :-)

      ------
      We are the carpenters and bricklayers of the Information Age.

      Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

      I shouldn't have to say this, but any code, unless otherwise stated, is untested

      I don't think it's a bad idea; just that you can't cleanly separate "idioms" from everything else in CPAN. There *are* idiom libraries out there -- I gave a few examples. But most modules solve practical problems, and solutions carry some inevitable functional (lowercase f) cruft that *is* best kept in a module.