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 reply to Re: mod_perl and imports
by Eily
in thread mod_perl and imports
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |