I hate to blew up the play but...

# /usr/bin/perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)'

Issuing the "r" command in CPAN shell gets the list of packages that
are outdated compared with the versions available in CPAN. Passing
this list as an argument to the install command updates these modules.

Still, it's worth keeping an eye on what you have. Automatic updates
may not be your best friends, as newer versions can easily break
compatibility with previous ones. One day or another you'll find that,
because function do_it() now accepts only one argument instead of two,
app xyz doesn't work anymore.


On 5/10/05, Rick Welykochy <[EMAIL PROTECTED]> wrote:
> Voytek wrote:
> 
> > what's the simplest way to keep my various Perl modules up to date ...?
> >
> > I have a number of various modules, as demanded by various app that want
> > them, and, not sure how to simplfy keeping them up to date
> 
> I've have always kept my perl modules up to date manually. Why? Because
> (a) each updated module should be unit tested and meet with my approval;
> and (b) the updated modules need to be "integration tested", i.e. do
> they still work harmoniously in tandem in the application environment.
> One little slip-up in the API for a module can render it incompatible
> with previous releases. Admittedly, I haven't seen this happen with
> Perl modules, but backwards compatibility probs have arisen with C libraries.
> 
> Nonetheless, you may wish to play with the CPAN.pm module, which
> can help automate module installation.
> 
> http://search.cpan.org/~andk/CPAN-1.76/lib/CPAN.pm
> 
> cheers
> rickw
> 
> --
> _________________________________
> Rick Welykochy || Praxis Services
> 
> People who enjoy eating sausage and obey the law should not watch either 
> being made.
>       -- Otto von Bismarck
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
> 


-- 
Julio C. Ody
http://www.livejournal.com/users/julioody/
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to