If you use CPANPLUS, you can enter the CPANPLUS shell (by typing cpanp at the command line), and then type "o" to get a list of all modules that need to be upgraded. Then you can install them with "i 1..42" (if you want to install modules 1, 2, 3, ..., 42; they're all assigned numbers in the output of "o"). You can also do the regex trick, but I prefer "o" so I can upgrade ALL my modules. TMTOWTDI :)

Regards,
Jonathan Rockway

Nathan Kurz wrote:
Long ago, I asked about easy ways to upgrade Catalyst.  Aristotle
answered me, and I've only just figured out an easier way to do it.
Or perhaps this is what he meant, and I was just slow to realize it.

In any case, to upgrade all packages starting with "Catalyst":

perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r("/^Catalyst/"))';

--nate

On Sat, Apr 29, 2006 at 09:47:56PM +0200, A. Pagaltzis wrote:
* Nathan Kurz <[EMAIL PROTECTED]> [2006-04-29 21:25]:
While we are on the topic, though, is there a good way to upgrade all
of the Catalyst dependencies in one shot using CPAN or CPANPLUS?
>From `perldoc CPAN`:

    # install everything that is outdated on my disk:
    perl -MCPAN -e'CPAN::Shell???>install(CPAN::Shell???>r)'

If you only want to update Catalyst stuff, grep the list returned
by `CPAN::Shell->r`.

Regards,
--
#Aristotle

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to