Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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 taking refuge in the Monastery: (2)
As of 2015-07-05 03:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls