From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: I don't understand Perl. What do I do after an update?
Date: Wed, 21 Jul 2010 21:34:21 +0200 [thread overview]
Message-ID: <201007212134.21252.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <i27ei5$724$1@dough.gmane.org>
On Wednesday 21 July 2010 20:33:42 Nikos Chantziaras wrote:
> On 07/21/2010 08:34 PM, Willie Wong wrote:
> > On Wed, Jul 21, 2010 at 08:04:54PM +0300, Nikos Chantziaras wrote:
> >> Portage recently updated Perl from 5.10.1 to 5.12.1 (and later -r1).
> >> However, a crapload of files still remain in
> >> /usr/lib/perl5/{site_perl,vendor_perl}/5.10.1. I found out the hard way
> >> after trying to emerge openoffice (and everyone knows how painful that
> >> one is):
> >>
> >> What is the user required to do after updating Perl? elogv doesn't tell
> >> me anything about upgrading.
> >
> > There's this neat little script called perl-cleaner
> >
> > http://www.gentoo.org/proj/en/perl/perl-cleaner.xml
>
> Thanks. How do I call the script? I don't have any idea what perl
> modules or ph files are (or why I need them). What do I need to do?
Short version:
You run
perl-cleaner --modules
and it just does it.
Long version:
perl comes out the box as an interpreter and some base functionality. The
community provides a brazillion useful modules for all sort of things. Like eg
Date. Need to do some Date manipulation? No need to write the disgusting code
yourself to work with Dates, someone else already did it. Just install a
module.
The trouble is that modules are often written in perl itself and closely tied
to the version of perl used. If you upgrade perl, you must also rebuild all
the modules tied to it, they don't just migrate.
This is a painful process. It's enough to drive a sysadmin to drink or (god
forbid), to Windows. Portage can't help as the ebuild doesn't know what you
have installed. So you must run a script to go and dig out all this crap for
you.
All I can say is, every day I get down on my knees and offer thanks that perl
is not slotted.
--
alan dot mckinnon at gmail dot com
next prev parent reply other threads:[~2010-07-21 20:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-21 17:04 [gentoo-user] I don't understand Perl. What do I do after an update? Nikos Chantziaras
2010-07-21 17:34 ` Willie Wong
2010-07-21 18:33 ` [gentoo-user] " Nikos Chantziaras
2010-07-21 19:14 ` Blackdream W
2010-07-21 22:40 ` Heorhii Valakhaniovich
2010-07-21 19:34 ` Alan McKinnon [this message]
2010-07-21 21:14 ` covici
2010-07-21 22:14 ` Alan McKinnon
2010-07-22 0:37 ` covici
2010-07-22 4:41 ` Volker Armin Hemmann
2010-07-21 20:04 ` [gentoo-user] " Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201007212134.21252.alan.mckinnon@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox