in reply to Challenge: CPAN Golf

When I want to stress a new perl installation (e.g. 5.10.0) or some new platform, I usually try installing Plagger or Jifty and automate saying yes to all the recommended modules.

$ PERL_MM_USE_DEFAULT=1 cpan Jifty

Assuming you can get it all to install, the result will be huge.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Replies are listed 'Best First'.
Re^2: Challenge: CPAN Golf
by locked_user sundialsvc4 (Abbot) on Jan 08, 2008 at 22:32 UTC

    That can work sometimes, but it can also put you into the dreaded “dependency hell.” I guess that a good rule of thumb for module-writers might be... if what you want to do is actually substantial and is already-done by a CPAN module, then go for it. But do try to keep the vines pruned:   don't let them just grow all over the place. Let there be a reason for each one.

    A module that is reasonably self-contained, both in purpose and in implementation, will always bring smiles to your “customers.” And they are, in a certain very-real sense, your customers. The module that you are contributing to The Matrix is, in a very real sense, a “commercial product.” Try to make your customers' experience with your product a pleasant one, by anticipating their needs.