in reply to Global includes in cgi's

You can always use require to include another script, but in Perl, it's best to use a module for global functions:
# Common.pm package Common; use strict; sub foo { # do stuff } sub bar { # do other stuff } 1; # have to return a non-zero value at end!
The to use it:
# client.pl use strict; use lib('/path/to/modules/'); use Common; Common::foo(); Common::bar();

Jeff

R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
L-L--L-L--L-L--L-L--L-L--L-L--L-L--