[Q] all installed modules

M

Mattia

Does anyone know how to get a list of all intelled modules that are
available to be USEd?
I work with a provider and would like to know this info.

thank you
 
S

Steve Grazzini

Mattia said:
Does anyone know how to get a list of all intelled modules that
are available to be USEd?
I work with a provider and would like to know this info.

$ perldoc perlmodlib # standard
$ perldoc perllocal # CPAN

And possibly best of all:

$ perldoc ExtUtils::Installed
thank you

Sure thing.
 
J

Joe Smith

Does anyone know how to get a list of all intelled modules that are
available to be USEd?
I work with a provider and would like to know this info.

A properly installed perl setup will allow you to run
cpan -a
from the command line. For all the modules currently installed,
it will list the version of what is currently installed and the
version of what is available at the CPAN archives.

If that does not work, you could do this:

perl -e '@a = grep /perl/,@INC; system "ls -lR @a"'
-Joe
 
E

Eric J. Roode

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

(e-mail address removed) (Joe Smith) wrote in read.news.verio.net:
....
If that does not work, you could do this:

perl -e '@a = grep /perl/,@INC; system "ls -lR @a"'
-Joe

What, perl only looks for modules in those directories in @INC which have
"perl" somewhere in the path?

- --
Eric
$_ = reverse sort qw p ekca lre Js reh ts
p, $/.r, map $_.$", qw e p h tona e; print

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBPwa7wmPeouIeTNHoEQKGiACg7nneANwxSqhUbR8NwYVTH5Asq/4AoIGh
svxhxcrgbVVVqGSoPC42vPWA
=WSXY
-----END PGP SIGNATURE-----
 

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,774
Messages
2,569,596
Members
45,140
Latest member
SweetcalmCBDreview
Top