![]() |
|
"be consistent" | |
PerlMonks |
Re^3: hash reference doubtby davorg (Chancellor) |
on Jul 20, 2009 at 10:05 UTC ( [id://781583]=note: print w/replies, xml ) | Need Help?? |
What is going on is that Perl is exposing more of its internals than it really should be. The name of the hash is being interpreted like a reference when you use this syntax. %hash->{key} should never have worked, but some people noticed that it did and (wrongly) started to use it. And that's why it's just deprecated and hasn't been removed from the language yet.
In Section
Seekers of Perl Wisdom
|
|