Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Aliasing bites

by revdiablo (Prior)
on May 11, 2005 at 16:28 UTC ( [id://456063]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Aliasing bites
in thread Aliasing bites

Perl6 also won't need the arrow notation to dereference values:

my %hash = (a => 1, b => 2); my $href = \%hash; say %hash<a>++; # prints 1 say $href<a>; # prints 2

Update: noticed ambrus already mentioned that. Sorry for the repitition. :-)

Log In?
Username:
Password:

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

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

    No recent polls found