in reply to Global includes in cgi's
The to use it:# 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!
# 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--
|
|---|