On Tue, Feb 01, 2005 at 11:06:57AM +0100, [EMAIL PROTECTED] 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

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to