Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: The 'eval "require $module; 1"' idiom (UNIVERSAL--)

by tye (Sage)
on Apr 19, 2014 at 19:12 UTC ( #1082911=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        if( $module->require() ) {
    
  2. or download this
    use Module::Require qw< could_require >;
    # ...
        if( could_require( $module ) ) {
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1082911]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2017-02-20 00:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (293 votes). Check out past polls.