$ perl -le 'use strict;my %h;push @{$h{first}}, "hello";print $h{first}' ARRAY(0x8153d78) $ perl -e 'use strict;my %h;print @{$h{first}}, "hello";' Can't use an undefined value as an ARRAY reference at -e line 1.