[PLUG] Updating All Perl Modules

Daniel Pittman daniel at rimspace.net
Wed Nov 10 00:26:12 UTC 2010


Rich Shepard <rshepard at appl-ecosys.com> writes:
> On Wed, 10 Nov 2010, Daniel Pittman wrote:
>
>> If you got it from the OS, they should be able to sort it out.  If you
>> hand-installed it, my strong preference is to repeat that install process
>> which will do things like ensure that dependencies are followed and found.
>
> Dirvish is not part of Slackware.
>
>> Current "best practice" is usually CPANPLUS, but that obviously means
>> getting CPANPLUS installed on the machine.
>
> Rather self referential, eh? Use cpan to get cpanplus ... or cpanminus.

Any of 'em should work. :)  CPANPLUS has a reputation for being very heavy,
but it is (IIRC) in core with 5.10 or maybe 5.12, so that should get a bit
easier.

>> However, cpanminus is starting to take over in the popularity and performance
>> stakes for folks who have strongly Internet connected systems; it has some
>> plugins to do things like "show me outdated modules" and the like.
>>
>>    https://github.com/miyagawa/cpanminus/tree/master/plugins
>
> I'll keep this for reference. I update perl modules only when some
> application (such as building the most current spamassassin) requires them.
> Otherwise, I ignore it.

I would highly recommend grabbing cpanminus, then, and just using it for
that.  It really doesn't suck compared to the competition.[1]

Regards,
        Daniel

Footnotes: 
[1]  I didn't actually believe this for ages, and used both CPAN and CPANPLUS,
     but have now been converted. :)

-- 
✣ Daniel Pittman            ✉ daniel at rimspace.net            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons



More information about the PLUG mailing list