| CPAN Ratings Toolkit reviews | |
| Home | Search | About | Bitcard Account | Login |
RSS | Module Info | Add a review of Toolkit
Toolkit is exactly what we needed for our project. Aside from the obvious advantages listed in the module's documentation, when you have several developers working on the same system, adding and modifying packages, it is a tremendous aid to promoting standards (and reducing clutter in scripts).
Francois Marais - 2006-01-18T03:44:56
Toolkit lets you save typing or cut/paste by saying "use Toolkit" instead of "use strict; use warnings; use Acme::Whatever" and whatever other favorite modules you like to use all of the time.
It's a really neat idea. It is also a really bad idea.
It saves keystrokes. But the script or module ceases to be portable to another machine (let alone another OS), and the code is less self-documenting as to what modules it uses.
There's no tool to modify a script or module to insert the used modules in place of "use Toolkit", should one desire to see what's being used.
However, I can see cases where this would be useful: if someone has a large stock of standard modules to always be used.
I think it would be better to have some kind of "profile" configuration file that lists modules used (using "use", "no" or "require"). One could dump the module, or updated versions of Module::Build or ExtUtils::MakeMaker could include the profile file with a distribution, etc.
Robert Rothenberg - 2005-08-05T09:37:49
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|