Lightning flashed, thunder crashed and "NeonEdge" <[EMAIL PROTECTED]> whisper
ed:
| This is probably way too late, but does this make any sense: could p6 allow
| (for the first few versions anyway) a "require <6;" directive?
Do you understand how the current "require #;" works? It already pretty
much does what you want. If you try to do something like
perl5.6.0 -e 'require 6;'
you get the following error already:
Perl v6.0.0 required--this is only v5.6.0, stopped....
I would expect when people install 6, they will keep their 5.6.x (or 5.8.x
or whatever) versions around. They can then just modify their scripts to
call perl5.x.y instead of perl if they want to ensure they run under 5. If
they're going to have to go in and add a "require <6" already, its easier
to just modify the #! line (and less coding for us).
Then, the scripts they do want run under 6, they can put "require 6;" in
and get the above error.
You might be able to convince people that perl6 should bomb (or
automagically run the p52p6 script) if it encountered a "require 5;".
-spp