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