Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: disable functions if module not installed

by almut (Canon)
on Nov 04, 2008 at 13:59 UTC ( [id://721397]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:\>perl -e"print require CGI;"
    1
    C:\>perl -e"print require CGIshamalamadingdong;"
    Can't locate CGIshamalamadingdong.pm in @INC
    
  2. or download this
    $ perl -E '$ok = eval "require CGI" ? 1:0; say $ok'
    1
    $ perl -E '$ok = eval "require CGIshamalamadingdong" ? 1:0; say $ok'
    0
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-03-29 10:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found