morgon has asked for the wisdom of the Perl Monks concerning the following question:
Consider this (in P.pm):
So within a file (containing package P) we have another package P1 that adds itself to it's own ISA.package P; use strict; package P1; @P1::ISA = qw(P1); 1;
In Perl 5.8.8 a "perl -MP -e1" does not complain, however Perl 5.10 refuses (and rightly so in my opinion) to compile it.
So evidently 5.10 has gotten smarter (which is a good thing) but unfortunately there are CPAN-modules (Parse::Lex to be specific) that exhibit exactly this problem.
This means that I had to change the source-code of a CPAN-module to make it run under 5.10 (ok - I already had to change the code to make it run under 5.8.8 but I mean just by upgrading to 5.10 I had to change it yet again...).
My question now is: Is there any systematic overview on which CPAN-modules may have a problem when running under 5.10?
Many thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: recursive dependencies in 5.8.8 vs 5.10 and CPAN
by Anonymous Monk on Jul 03, 2009 at 19:47 UTC | |
by morgon (Priest) on Jul 03, 2009 at 20:34 UTC | |
by ikegami (Patriarch) on Jul 03, 2009 at 21:13 UTC | |
by morgon (Priest) on Jul 03, 2009 at 21:37 UTC | |
by Corion (Patriarch) on Jul 03, 2009 at 21:41 UTC | |
|
Re: recursive dependencies in 5.8.8 vs 5.10 and CPAN
by JavaFan (Canon) on Jul 03, 2009 at 22:30 UTC | |
by afoken (Chancellor) on Jul 04, 2009 at 11:00 UTC | |
by JavaFan (Canon) on Jul 04, 2009 at 12:17 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |