I'm ignornant when it comes to some of the more basic concepts of programming, so I'm tackling references. I've come across an example that I can't get to work and would love some insight as to why...
%animals = ('donald'=>'duck', 'mickey'=>'mouse', 'cheshire'=>'cat');
#set reference for hash
$fer = \%animals;
print "The value of \$fer is $fer\n";
print "The value for the key \"mickey\" is $$fer['mickey']\n";
... Only when I run this snippet, I get "Not an ARRAY reference at foo.cgi line 7
Am I blind? Why isn't this correct?