Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: Dynamic Class Loading, Compilation, & Speed

by zwon (Monsignor)
on Mar 06, 2010 at 23:14 UTC ( #827177=note: print w/ replies, xml ) Need Help??


in reply to Re: Dynamic Class Loading, Compilation, & Speed
in thread Dynamic Class Loading, Compilation, & Speed

require "$class.plm"

Note, that won't work if $class='My::Class', you have to replace '::' with '/'. Module::Load takes care about this.


Comment on Re^2: Dynamic Class Loading, Compilation, & Speed
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2014-10-21 02:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (95 votes), past polls