Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: Perl 6 - Operator renaming

by rvosa (Curate)
on Sep 02, 2005 at 11:06 UTC ( [id://488612]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Perl 6 - Operator renaming
in thread Perl 6 - Operator renaming

Is -> for derefencing also getting the axe? Or only for method calls? Seems sensible to keep $hashref->{'key'}, no?

Replies are listed 'Best First'.
Re^4: Perl 6 - Operator renaming
by TimToady (Parson) on Sep 02, 2005 at 11:47 UTC
    -> 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://488612]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-26 05:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found