|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: hash reference doubtby davorg (Chancellor) |
| on Jul 20, 2009 at 09:46 UTC ( #781576=note: print w/ replies, xml ) | Need Help?? |
|
If you get a warning from Perl that you don't understand then it's always worth checking the full description in perldiag. In this case, it says: Using a hash as a reference is deprecated I assume that the fact it used to work has something to do with the internal representation of hashes (and also arrays) as something similar works in C. But as the warning says, this usage is deprecated. And if something is deprecated, you shouldn't use it. p.s. It's a "question", not a "doubt".
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||