Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re^2: Imported subroutines

by sundialsvc4 (Abbot)
on Sep 17, 2013 at 01:48 UTC ( #1054371=note: print w/ replies, xml ) Need Help??

in reply to Re: Imported subroutines
in thread Imported subroutines

No, I think that you are exactly correct.   The module will be compiled, regardless, if not done already.   Then, any name in @EXPORT will be added to the global namespace.   If you provide a list of routines in your use statement, they must be in @EXPORT_OK.

Nothing will lead to any sort of performance problem.   Everything goes through a one-time “compile (on the fly)” process and, once done, never happens again (AFAIK) for the duration of the run.   If there is a performance issue in this app, “red herring ... look elsewhere.”

Comment on Re^2: Imported subroutines

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2015-10-14 05:28 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (320 votes), past polls