Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: how to determine whether a module is installed or not?

by samarzone (Pilgrim)
on Dec 28, 2010 at 08:30 UTC ( #879399=note: print w/ replies, xml ) Need Help??


in reply to how to determine whether a module is installed or not?

evaluating (as given in above solutions) is the correct solution at run time but if you want a list of installed modules for a quick reference in future, there is a perl script 'instmodsh' which is shipped with Perl. (At least I have it installed with perl-5.8.8-18.el5 :) ). In my system it is installed at path /usr/bin/instmodsh so I can run it directly as a shell command.

--
Regards
- Samar


Comment on Re: how to determine whether a module is installed or not?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2014-08-21 05:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls