Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] updating Perl modules, how ?


<quote who="Julio Cesar Ody">
> 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.

Julio,
thanks, yes, I think I better take it easy....

how to I run above command *only* to get a list ?
# /usr/bin/perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)'

(asks he after hitting Ctrl-C rapidly)


-- 
Voytek