in reply to Re^3: When will "Using a hash as a reference is deprecated" be enforced?
in thread When will "Using a hash as a reference is deprecated" be enforced?
What more of the like is in perl that I don't know?got me thinking, so i tried it with an array. wacky!
% perl -Mwarnings -Mstrict -e 'my @a = (1); print @a->[0]' Using an array as a reference is deprecated at -e line 1. 1
|
|---|