Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: mod_perl and imports

by Eily (Curate)
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 package One; BEGIN { print "Begin One\n" } sub import { print "Import One\n" } 1
#file package Two; use One; 1
use One; use Two;
The import method won't be called if you require instead of use your modules.

Comment on Re: mod_perl and imports
Select or Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1055911]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (17)
As of 2015-07-01 21:12 GMT
Find Nodes?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...

    Results (22 votes), past polls