Re: listing perl modues on system

2002-11-21 Thread Jason Purdy
One easy way is to run the command:
perldoc perllocal

Jason

Jerry M . Howell II [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Hello there,

I was wondering if there is an easy way to list the perl modules that
are
 installed on a system?

 --
 Jerry M. Howell II



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: listing perl modues on system

2002-11-21 Thread wiggins
I get no documentation found for this method (solaris w/ 5.6.1), but I would imagine 
that would only list the base modules. If you are on unix the following is more 
elegant, from the perldoc perlmodlib page (not sure why it took me so long to find 
again, grr..)

To find out all modules installed on your system, including those without 
documentation or outside the standard release, just do this:

   % find `perl -e 'print @INC'` -name '*.pm' -print

Ah the beauty of find with a perl one liner, don't even need a pipe ;-)

http://danconia.org




On Thu, 21 Nov 2002 10:59:08 -0500, Jason Purdy [EMAIL PROTECTED] 
wrote:

 One easy way is to run the command:
 perldoc perllocal
 
 Jason
 
 Jerry M . Howell II [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  Hello there,
 
 I was wondering if there is an easy way to list the perl modules that
 are
  installed on a system?
 
  --
  Jerry M. Howell II
 
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




listing perl modues on system

2002-11-20 Thread Jerry M . Howell II
Hello there,

   I was wondering if there is an easy way to list the perl modules that are
installed on a system?

-- 
Jerry M. Howell II

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: listing perl modues on system

2002-11-20 Thread Dave K
Jerry,
I use this to track the modules I have installed for an ActiveState perl
install on WinNt.

#!E:/Perl/bin/perl -w
use ExtUtils::Installed;
my $instmod = ExtUtils::Installed-new();
foreach my $module ($instmod-modules()) {
 my $version = $instmod-version($module) || ???;
 print $module -- $version\n;
}

HTH
Jerry M . Howell II [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 Hello there,

I was wondering if there is an easy way to list the perl modules that
are
 installed on a system?

 --
 Jerry M. Howell II



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]