Dan Sugalski <[EMAIL PROTECTED]> writes:

> At 08:23 PM 4/13/2001 -0700, jc vazquez wrote:
> > > On Thu, 12 Apr 2001, Dave Storrs wrote:
> > > ...
> > > > We could then just add a -7 flag.
> > >
> > > Or, just use:
> > >
> > > #!/usr/bin/perl6
> > >
> >
> >To solve this versioning issue, is there a way Perl 6 compiler can just
> >figure out what's being fed?  I mean, without saying anything using options
> >or pragmas. There must be a way by analyzing the syntax or the context to
> >find out if it's p5 or p6. Let the computer do the work.
> 
> Why? We don't ask this of any other compiler, so why ask it of perl?
> (You won't find this in a C, or Fortran, or Ada compiler...)
> 
> 
> I personally would rather that perl 6 handle perl 6 code only, and
> leave the compilation and interpretation of perl 5 code to perl 5. If
> we insist on having perl 6 eat perl 5 code, then people are more than
> capable of adding a "-M5" switch to their command lines.

I think you've missed Larry's point that Perl gets used in some pretty
weird places that aren't necessarily known about by the user. Unless
you can get at every single one of those and add a '-M5' switch, then
they aren't going to work. Which could be very bad indeed.

-- 
Piers

Reply via email to