Keep It Simple, Stupid | |
PerlMonks |
Re: Better Styleby logan (Curate) |
on Sep 23, 2003 at 21:04 UTC ( [id://293684]=note: print w/replies, xml ) | Need Help?? |
On the most basic dumbed-down level:
Put all the subs in a single file. Name it my_subs.pm. Make sure that the last line of the file is this:
1; At the top of your perl script, put use my_subs; This isn't an optimal solution by any means, but it will work. From there, you'll want to read the chapters on Packages, Modules, and Objects in the Camel Book.
-Logan
In Section
Seekers of Perl Wisdom
|
|