P is for Practical | |
PerlMonks |
Re^4: Perl 6 - Operator renamingby TimToady (Parson) |
on Sep 02, 2005 at 11:47 UTC ( [id://488621]=note: print w/replies, xml ) | Need Help?? |
-> has been promoted to a Higher Purpose, namely attaching closures to control structures while passing parameters to those closures. But you don't need arrow for dereferencing hashes because in Perl 6 you can just say $hashref{'key'} (or even $hashref<key>, in the case of a literal key.)
You can't really evaluate any of these decisions in isolation, but you have to look at how things ripple through the entire design. I am confident you won't miss -> in Perl 6 except in the Auld Lang Syne sense.
In Section
Meditations
|
|