Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: mod_perl and imports

by Eily (Vicar)
on Sep 26, 2013 at 22:22 UTC ( #1055911=note: print w/replies, xml ) Need Help??


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
use One; use Two;
The import method won't be called if you require instead of use your modules.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1055911]
help
Chatterbox?
[beech]: checking chatterbox sidebar
[beech]: and again a check on chatterbox sidebar, what is expandability
beech me me me me me me testing chatterbox sidebar
beech my my /me me me me me me me chatterbox sidebar
beech testing chatterbox sidebar
[beech]: and something else

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2017-03-27 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (324 votes). Check out past polls.