Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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.

- Samar

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2016-10-22 00:45 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (291 votes). Check out past polls.