in reply to Updating modules when updating Perl on BSD

In /usr/ports/UPDATING, entry "20050201" lists a way to upgrade some of the Perl software ...

portupgrade -f \ ` ( pkg_info -R perl-5\* \ | tail +4; \ find /usr/local/lib/perl5/site_perl/5.[68].[1245] -type f -print0 \ | xargs -0 pkg_which -fv \ | sed -e '/: ?/d' -e 's/.*: //' \ ) \ | sort -u `

... and adds that above "is likely to fail for a few ports, you'll have to upgrade them afterwards by hand". See also the "20050624" entry which mentions perl-after-upgrade, installed w/ Perl 5.8.7 port.

Replies are listed 'Best First'.
Re^2: Updating modules when updating Perl on BSD
by samizdat (Vicar) on Jan 12, 2006 at 15:46 UTC
    Good pointers, parv, thanks! I'd forgotten the UPDATING file in /usr/ports, just looked in the one in /usr/src.

    One of the problems I have here at SNL is the firewalls, which kill make test's on things like HTTP::SimpleLinkChecker which just assume that you have (unfettered) Internet access.

    Still, though, I have to step back and appreciate how much really does get done automatically by CPANPLUS and portupgrade and cvsup and make... Things could be a LOT worse... :D

    Don Wilde
    "There's more than one level to any answer."