At 12:02 PM 4/9/2001 -0600, Dan Brian wrote:
> > Still, I'll be really, *really* surprised if most perl code require any
> > rewriting to run under perl 6. TomC's got quite a cache of old perl code,
> > and I've got some mildly hairy perl 5 code that I want perl 6 to eat
> > without complaint.
>
>OK. But by the current thread, this ability of perl6 to interpret perl5
>needs a toggle,

No. No it doesn't. Perl 6 is *not* going to interpret perl 5 specific code. 
Period. That's what the p526 backend for perl 5's B:: is going to be for. 
Perl 6 will parse and run perl code that meets the perl 6 spec, one that I 
expect will encompass most normal code we have now.

There won't be any magic toggles to make typeglobs come back if they go 
away, or anything of that sort. Default behaviours like warning and 
strictness may vary depending on whether perl thinks it's parsing a module 
specifically written for perl 6 or not, but that's a far cry from parsing 
perl 5 code generally.

>That is, the syntax will not be compatible.

That turns out not to be the case.


                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to