Most Perl 6 will look like Perl 5

Jonathan Stowe jns at gellyfish.com
Fri Jan 25 15:00:33 GMT 2008


On Fri, 2008-01-25 at 14:40 +0000, David Cantrell wrote:
> On Fri, Jan 25, 2008 at 12:50:26PM +0000, Jonathan Stowe wrote:
> > On Fri, 2008-01-25 at 12:30 +0000, Paul LeoNerd Evans wrote:
> > > Perl6 is a new language, that takes its inspiration from Perl5. To claim
> > > that your modules won't work on both, is as obvious a claim as the fact
> > > that the same script isn't both a Bourne and a C shell script ...
> > This much has been clear almost since day one - though it's so long ago
> > now I may be mis-remembering.
> 
> You are mis-remembering.  We were told very early on that existing perl
> code would work in the new language, and that the only change that would
> be required was that you *must* use the keyword 'package' for anything
> non-trivial as a compiler hint that yes, this really is old code.  Hence
> 'package main' in some of my code from a few years ago when perl 6 was
> expected by Christmas.
> 

Ah yes those heady days at the turn of the century .... it all comes
flooding back.

/J\


More information about the london.pm mailing list