Help: How could i know i have installed a certain perl modules

Y

yjin6666

Hi, everyone,

Does anyone here know how to check that a certain perl module has been
installed and how to test if it is working ok?

I am trying to install some perl modules on my redhad linux 9.0. But I
want to make sure these modules have not been installed before or they
are working well if installed.

Thanks for your help,

Kim
 
J

Joe Smith

Does anyone here know how to check that a certain perl module has been
installed and how to test if it is working ok?

By simply using it.

To test if LWP::Simple is available:
perl -MLWP::Simple -le 'print "OK"'
 
J

Joe Smith

I am trying to install some perl modules on my redhad linux 9.0. But I
want to make sure these modules have not been installed before or they
are working well if installed.

Use CPAN.pm to install modules. It checks for modules already installed.
-Joe

P.S. Please do not post here. Go to comp.lang.perl.misc instead.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top