On Fri, Dec 22, 2006 at 04:19:33PM +0200, Yossi Kreinin wrote: > > > >In Perl6: > > > > print sqrt(9) + 7; # Prints 10. > > print sqrt (9) + 7; # Prints 4. > > > > # > > # Code1 is run if %hash is non-empty. Code2 is always run. > > # Code3 is always run. Code4 is run if %hash{Code3} is true. > > # > > if %hash {Code1} {Code2} > > if %hash{Code3} {Code4} > > > > > > Oh, this is not good. This is sub-optimal. Hm. Um. I've never seen anything > like it. How can you program in this. Not good. > > But. But. Doesn't Perl 6 have Perl 5 compatibility mode?
Yes, but that's never promised to be any more than the ability to run perl5 programs. But I don't need perl6 to run perl5 programs. I've been able to run perl5 programs since, oh, 1994 or so. Abigail
pgpV5SA2KGvjg.pgp
Description: PGP signature