|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: Writing tests for a moduleby bikeNomad (Priest) |
| on Jun 05, 2001 at 18:21 UTC ( [id://85927]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I don't bother checking in my modules, but it's reasonable to check in your Makefile.PL so they know when installing it (or CPAN.pm knows) that they need something else. I even check for standard modules. If you use ExtUtils::MakeMaker, just add a PREREQ_PM hash arg to the arguments to WriteMakefile. From Archive-Zip's Makefile.PL:
If you have PREREQ_PM set, CPAN.pm will use it to load prerequisites. Also, the .PPD file (used by PPM) will have the dependency information, which will allow PPM to load the required modules. update: added explanation at end
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||