Perl: the Markov chain saw | |
PerlMonks |
Re: examples in CPAN distributionsby rinceWind (Monsignor) |
on Apr 25, 2007 at 11:00 UTC ( [id://611965]=note: print w/replies, xml ) | Need Help?? |
For trivial modules, the examples are encompassed by the tests, in t/*.t which is the standard place. For test data, there is no convention. For something non-trivial, having example code is a good idea. Again there is no convention that I'm aware of. Do you have a preference? If so, please tell us. Expressing it in Perlmonks is a good way to get feedback, and to set conventions and standards in the Perl community. --
In Section
Seekers of Perl Wisdom
|
|