Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Most effective way to dynamically load a module?

by jbrugger (Parson)
on Aug 22, 2006 at 05:04 UTC ( [id://568765]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ($class !~ /^[a-z0-9_]*$/i) {
            print $cgi->header();
    ...
            exit();
    }
    
  2. or download this
            eval {
                    require $class . ".pm";
    ...
            }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-23 09:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found