05.07.2009 How do we get out of this mess?
The Perl vs DarkPAN issue is evolving a lot these days, I'd like to explore a viable option so we get out of this mess.
Let me just review which are the options that are clearly not acceptable by one side or the other:
- Have the defaults for Perl 5 changed, in a backward-incompatible way, favoring Modern Perl
- Enforce backward-compatibility in order to preserve the huge amount of software running in Perl around the world.
It seems pretty clear that going to each extreme will not build any consensus, so, I was thinking about the way "perl -E" works on 5.10, and I was wondering if we could do one of:
- Have the defaults changed, but with a switch that would enable "backward-compatible mode"
- Have the defaults kept, but with a switch that would enable "modern-perl mode"
Basically, what I'm proposing is that we assume that there are two Perls in perl, and by a switch you can select the one you're going to work with. Even if the "modern-perl mode" is assumed to be default, simply adding a switch to the invocation of the interpreter in the old systems wouldn't be much hard.