Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2016-09-26 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (478 votes). Check out past polls.