[Catalyst] [OT] compiling perl/apache from scratch

Jonathan Rockway jon at jrock.us
Tue Sep 19 22:42:24 CEST 2006


> Now I try to run my old cat test suite ... it seems I need to go to
> cpan for each module that was previously installed.
> is there any way to avoid this when upgrading perl ?

Is there a way to avoid it?  Yes; trickery with @INC.  But I wouldn't
recommend it because you have no idea if your CPAN'd modules even work
under 5.8.8 -- you didn't run their test suites, and their (potential)
prerequisite core modules may have been changed.  (Not to mention new
features in the interpreter.)

> or at least a
> quick way to find back all the stuff you had installed and install it
> all in one hit?

http://search.cpan.org/~andk/CPAN-1.87/lib/CPAN.pm#autobundle

Autobundle your old @INC, then install that bundle with your new perl.
Should work.

Regards,
Jonathan Rockway

-------------- 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/20060919/72e8583e/attachment-0001.pgp 


More information about the Catalyst mailing list