in reply to Converting common subroutines as a module
- Lower case'd module names (e.g. "common") are reserved for Perl's internal use by convention.
- It'd be better to create the CGI instance in the main body and pass that as an argument to your utility routines
- You might consider using one of the frameworks like CGI::Application which provides functionality similar to this off-the-shelf
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Converting common subroutines as a module
by markjugg (Curate) on Nov 01, 2006 at 19:04 UTC | |
by Anonymous Monk on Nov 01, 2006 at 21:38 UTC |
In Section
Seekers of Perl Wisdom