in reply to mod_perl and imports
Why don't you just try it?
#file One.pm package One; BEGIN { print "Begin One\n" } sub import { print "Import One\n" } 1
#file Two.pm package Two; use One; 1
The import method won't be called if you require instead of use your modules.use One; use Two;
|
---|
In Section
Seekers of Perl Wisdom