Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Load only if needed

by johannz (Hermit)
on May 29, 2001 at 22:28 UTC ( [id://84021]=note: print w/replies, xml ) Need Help??


in reply to Load only if needed

Just for fun, 'RE: Factory Pattern for Class Heirarchy', a node I wrote back in October did loading of modules at runtime. It is not as efficient as autouse, but it allowed me to learn how AUTOLOAD and the UNIVERSAL package worked.

But merlyn is correct in saying to use 'autouse'; it's more correct(read Safer) than my experiment.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-20 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found