http://qs1969.pair.com?node_id=780903


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