in reply to 5.8 hash as a reference is deprecated??
This was actually deprecated even in versions like 5.6.1, but Perl silently accepted the wrong syntax, and now it starts to print out this message.
A similar warning is given for array, if you do something like:
use strict; use warnings; my @a = (1..100); my $aref = \@a; print @aref->[0];
|
|---|