Perl Monk, Perl Meditation | |
PerlMonks |
Re: Clarifications in subroutines, CGI.pm, HTML::Template and performanceby wfsp (Abbot) |
on Jun 18, 2006 at 08:48 UTC ( [id://556064]=note: print w/replies, xml ) | Need Help?? |
Have a look at tachyon's Simple Module Tutorial for info on modules. My take on this would be to put the CGI.pm query object in the 'common code' module too. That way you only have to 'use CGI;' once. One way:
MyCommon.pm would look like:
In Section
Seekers of Perl Wisdom
|
|