[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Omaha.pm] RE: finding installed Perl modules
Is that different/better than "perldoc perllocal"?
Thanks,
j
> -----Original Message-----
> From: Sean Baker [mailto:pbaker@omnihotels.com]
> Sent: Monday, February 07, 2005 5:31 PM
> To: dthacker@omnihotels.com
> Cc: resmis@omnihotels.com
> Subject: finding installed Perl modules
>
> This script will tell us what Perl modules are installed:
>
>
>
> #!/usr/bin/perl
>
> use ExtUtils::Installed;
>
> my $inst = ExtUtils::Installed->new();
>
> my @modules = $inst->modules();
>
> foreach (@modules) { print "$_\n"; }
>
>
>
> pbaker@razorbill:~> perldoc perlfaq3
>
>
>
> Sean Baker
>
> Software Architect
>
> Omni Hotels
>
> (402) 952-6508
>
> pbaker@omnihotels.com <mailto:pbaker@omnihotels.com>
>
>
>
>