[Catalyst] updating Catalyst using CPAN
Jonathan Rockway
jon at jrock.us
Thu Jul 27 16:47:01 CEST 2006
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 <nate at verse.com> [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: Catalyst at lists.rawmode.org
> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
> Dev site: http://dev.catalyst.perl.org/
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 368 bytes
Desc: OpenPGP digital signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060727/e4d6a52e/attachment.pgp
More information about the Catalyst
mailing list