LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   um.... perl modules? (http://www.linuxquestions.org/questions/programming-9/um-perl-modules-295315/)

ruwach 02-26-2005 09:10 PM

um.... perl modules?
 
Hey there,
i am wondering.... how do i know what perl modules i have installed ( perl 5 - Vector linux) ?
and how do i install more of them ?

ogmoid 02-27-2005 01:06 AM

I think you can do what you are after from cpan. Do (as root, probably):
Code:

# cpan
As this is probably the first run it will walk you through setup.
- - - - -
Once you're done, and at a prompt:
Code:

cpan> m
was enough to spew a, rather long, list of installed modules.
Also handy may be:
Code:

cpan> install Module::Name
(with Module::Name being what you want to install).

This is an interface to the perl cpan.

ruwach 02-27-2005 10:15 AM

oh hey.
i found out (thru cpan) that i already have the modules
that i need with my perl distrobution
thanks


All times are GMT -5. The time now is 09:02 PM.