use strict; no autovivification; #<-- include in all programs, all the time! my %myHash =(); print "values in list are: @{$myHash{\"unknown_if_this_key_exists_yet_or_not\"} || []}\n";