[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Perl modules
- Subject: Perl modules
- From: mail25 at bzerk.org (Ruben de Groot)
- Date: Wed Feb 2 06:23:35 2005
On Tue, Feb 01, 2005 at 11:06:57AM +0100, peter_(_dot_)_lidell_(_at_)_post_(_dot_)_dk typed:
> Hello,
>
> I have to do thise things:
>
> A) if Perl is installed from pkg_add and not the ports, uninstall it.
> pkg_delete -f perl5.8
> B) add ENABLE_SUIDPERL=true to /etc/make.conf
> C) cd to /usr/ports/lang/perl5.8
> D) make -DENABLE_SUIDPERL"TRUE" install clean
> E) re-install all the perl modules from the ports.
> F) Follow the QMR manual to the T!!!
>
> The "Re-install of the perl modules from ports" part.... How do I do that? How do I id all my perl modules and is there a way to re-install them all together?
To check which modules are installed (packages/ports and CPAN) I use
the following script:
#!/usr/bin/perl
# list installed modules
use ExtUtils::Installed;
my $instmod = ExtUtils::Installed->new();
foreach my $module ($instmod->modules()) {
my $version = $instmod->version($module) || "???";
print "$module -- $version\n";
}
I know of no way to automatically reinstall them though...
Ruben
- References:
- Perl modules
- From: peter_(_dot_)_lidell_(_at_)_post_(_dot_)_dk
Visit your host, monkey.org