in reply to (tye)Re: Stopping CPAN from upgrading Perl
in thread Stopping CPAN from upgrading Perl
Perl 5.005_03 released with (IIRC) version 1.48. This version will upgrade perl if it sees something that depends on Perl 5.6.x, but that fact not realized because Perl 5.6.x doesn't exist.
Perl 5.6.0 released.
Not too long thereafter while trying to install something I find that it is upgrading perl on me. I send a bug report. Andreas sends me back a "sorry" and a patch that will die horrible flaming death instead of doing the upgrade. I wasn't the first to complain, that honor goes to Joseph Hall.
A bit after that I am installing some new machines, and trying to load a ton of modules from the old ones. The "die flaming death" aspect of things causes me grief so I convinced Adreas that he wants to make it skip that upgrade and anything which depends on it, but continue installing other things. (I might have sent him a patch that did that, I don't think so though.)
Fast-forward to the present. Anyone who has a machine with an install of 5.005_03 who has not upgraded their CPAN from the default install, upon requiring any module which requires Perl 5.6.x, will upgrade Perl. Painfully. This problem is cropping up and will continue to crop up because more and more modules over time are requiring Perl 5.6.x.
And so a plea to any module authors. Please think very, very carefully before making your module require something that involves 5.6.x. When you do that you are adding to this problem. Furthermore if you have a module which is used by other modules, and you introduce that dependency, then you have made all of those other modules also cause this problem. Please consider carefully the convenience to yourself versus the inconvenience of causing people to have Perl upgrade itself on them.
Yes, the bug is in a version of a module released with Perl 5.005_03. But that version of Perl is still widely used. And it will, despite its best attempts to uninstall itself, continue to be for some time to come.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re2: Stopping CPAN from upgrading Perl
by tye (Sage) on Jul 19, 2001 at 06:32 UTC | |
by bikeNomad (Priest) on Jul 19, 2001 at 07:03 UTC | |
by tilly (Archbishop) on Jul 19, 2001 at 15:15 UTC | |
by rchiav (Deacon) on Jul 19, 2001 at 13:41 UTC |