in reply to Better Style

You are in desperate need of Packages and Modules. From the perldocs, see perlmod. That ought to get you started.

Since you mentioned that you're using Perl for dynamic web pages (CGI), I'll take this opportunity to once again reiterate that the very first module you probably should consider using while developing CGI scripts is CGI.pm; part of the standard Perl distribution for some time now. While you're at it, the use strict and use warnings pragmas, as well as the -T taint checking command line (or shebang line) option are all 'must-haves' for CGI.

Hope this helps.

Dave

"If I had my life to do over again, I'd be a plumber." -- Albert Einstein