Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Most effective way to dynamically load a module?

by jbrugger (Parson)
on Aug 22, 2006 at 05:04 UTC ( #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? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2022-12-07 23:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?