[Pdx-pm] perl upgrade

Michael G Schwern schwern at pobox.com
Wed Jan 23 16:11:50 PST 2008

Thomas Keller wrote:
> Sorry to have to ask this. It's probably something I should know. But 
> can I upgrade Perl using CPAN?

No, but you can make the upgrade process a lot easier assuming you're crossing 
a major version boundary.

1)  Run "autobundle" in the CPAN shell.  This will make a big file of all the 
modules you have installed.  Note the location.

2)  Install a new perl by hand.

3)  Run "install /path/to/the/bundle/file" and it will reinstall all those 
modules.  Takes some time, but at least it's automatic.

Robrt:   People can't win
Schwern: No, but they can riot after the game.

More information about the Pdx-pm-list mailing list