Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Calling perl from CGI

by lamp (Chaplain)
on Sep 07, 2008 at 05:40 UTC ( [id://709609]=note: print w/replies, xml ) Need Help??


in reply to Calling perl from CGI

You can use the following method to check whether a module is installed or not.
if ( eval "use $module; 1" ) { $result = "Module $module is available!!"; }else { $result= "Module $module not available!!"; }

Replies are listed 'Best First'.
Re^2: Calling perl from CGI
by PerlRob (Sexton) on Sep 07, 2008 at 06:04 UTC
    Thanks for the excellent responses and alternatives! TIMTOWTDI!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2026-03-15 21:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.