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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2017-01-21 02:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (180 votes). Check out past polls.