Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Use variable as a module during runtime.

by sundialsvc4 (Abbot)
on Oct 22, 2012 at 13:53 UTC ( #1000345=note: print w/replies, xml ) Need Help??


in reply to Use variable as a module during runtime.

Consider perldoc -f require.

A far more thorough approach:   UNIVERSAL::require.

Consider also the source-code found in RPC::Any::Server.   Here is a system that is designed to invoke packages and (selected... controllable...) methods within them.   It should be a good source of ideas.

  • Comment on Re: Use variable as a module during runtime.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1000345]
help
Chatterbox?
and John Coltrane plays...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2017-11-19 09:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (278 votes). Check out past polls.

    Notices?