good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Module writing hints?by Aristotle (Chancellor) |
on Jun 27, 2002 at 17:13 UTC ( [id://177772]=note: print w/replies, xml ) | Need Help?? |
In its simplest form, a module is nothing other than a regular Perl source that has a package Module::Name; somewhere at the top, ends with a statement that returns true (usually a simple 1;) and resides in a file called Module/Name.pm. :) It really isn't very daunting. Of course, these few rules alone won't make it a good module, or even a well behaved one, but as with most things in Perl, good behaviour is a matter of conventions and social rituals rather than something the language shoves down your throat. perlmod and perlmodlib should show you the ropes. Makeshifts last the longest.
In Section
Seekers of Perl Wisdom
|
|