in reply to
Re: Re: Re: perlcheat
in thread perlcheat
Err. No. Perl 6 is a new version of the same language: Perl. Just as Perl 5 was. Just as Perl 4 was.
I know that's the story. My brain just won't accept it as a fact. Doesn't re-designing something from scratch essentially make it new? Anyhow, please excuse me for spreading wrong information.
Au contraire! The vast majority of it is unchanged for Perl 6.
Array and hash slice and element sigils change, the arrow becomes a nice little dot, parens in constructs like loops are no longer needed for most expressions, the operator precedence table is likely to change, regex metacharacters change as well as regex modifier and predefined classes (or should I say rules?). Many of the special variables change or are reincarnated as att^H^H^Hproperties. That leaves only context (the current list is incomplete too: Perl 5 already has several scalar contexts), sigils (but will there still be globs?), do's and don't's. I wouldn't call that "the vast majority".
Except, of course, that Perl 6 won't suck. ;-)
Of course it won't suck :) And sure, it will still be Perl, a better Perl even. Just not the Perl I know.
- firstname.lastname@example.org (do not use).