Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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: (7)
As of 2014-12-21 21:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (108 votes), past polls