On 4/21/07, Dr.Ruud <[EMAIL PROTECTED]> wrote:
"Chas Owens" schreef:

> But Synopsis 4* says
>        There is no foreach statement any more. It's always spelled for
> in Perl 6,
>        so it always takes a list as an argument

Well Perl6 isn't Perl, it's a successor to Perl. Like Perl did, Perl6
took a lot of good parts out of other languages (like Perl, Haskell,
Java, etc.) to become the rather perfect language it now is.
snip

By that reasoning Perl 5 isn't Perl either.  Every new major version
of Perl has had some pretty radical stuff in it.  That said, it is a
design goal to let the users still write Perl 5 syntax in a
compatibility mode, but if you do that then you miss out on all of the
cool stuff like hyperoperators, the new rule based regexes, pointy
blocks, etc.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to