in reply to Initializing Hash reference
In the first example you are setting a referance to a scalar which points to a hash. Similar to:
$err->{'CMD'} = ...
The latter example can be handled similar to
$arrayref = \@ARGV;
so $arrayref = ...
http://perldoc.perl.org/perlref.html
In Section
Seekers of Perl Wisdom