Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: perl modules

by Rich36 (Chaplain)
on Nov 14, 2001 at 19:53 UTC ( [id://125332]=note: print w/replies, xml ) Need Help??


in reply to perl modules

Of you can try this script I wrote - findINC. Given a module name or fragment of a module name, it will recurse the @INC and find if it is installed.
Rich36
There's more than one way to screw it up...

Replies are listed 'Best First'.
Re: Re: perl modules
by John M. Dlugosz (Monsignor) on Nov 14, 2001 at 21:12 UTC
    Why not just do perl -MModuleName?

    If that works, the module is installed and in the normal @INC locations. To conditionally do things based on whether or module is available within a real script, just put an eval block around require.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-19 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found