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.
Dan
--------------------------------------"it's like this"-------------------
Dan Sugalski even samurai
[EMAIL PROTECTED] have teddy bears and even
teddy bears get drunk