in reply to Re: Perl 6
in thread Perl 6

Unfornatly, that turns out not to be the case. You can convert perl5 to perl6 fairly easily in terms of code flow and such. However, changes like . to _ for concatanation and -> to '.' mean that you'll have to change all you code.

Have hope, though. Perl6 should be powerful enough to redefine operators. That means "use perl5" should be able to be written in fairly simple perl6 and be able to provide the perl5 semantic of -> (mostly) and '.'.

Thanks,
James Mastros,
Just Another Perl Scribe

Replies are listed 'Best First'.
Re (tilly) 3: Perl 6
by tilly (Archbishop) on Jan 15, 2002 at 09:04 UTC
    Rumor control time.

    Perl 6 will, for the most part, work just fine if you accidentally feed it Perl 5. Larry Wall made this design decision clear right from Apocalypse 1. This is, in fact, not an optional decision. There is a tremendous installed Perl 5 code base, and it would be suicide for Perl 6 to not support it in a natural and direct fashion.

      My bad. (I'm still rather curious as to how he's going to accomplish that, but <shrug>. I can't wait for Apocalypse 3.)

      Thanks,
      James Mastros,
      Just Another Perl Scribe

        Typo time?

        Apocalypse 3 already exists. The 4'th one is still forthcoming.

        As for how they are going to do it, the parser will be customizable. Unless it sees something that says, "Perl 6" it will try to parse your file as Perl 5 code.