if ($foo){...} #### if ($myHash{"unknown_if_this_key_exists_yet_or_not"}){...} #### if ($myHash{unknown}{if}{this}{key}{combination}{exists}{yet}{or}{not}){...} #### my %myHash = (); if ($myHash{unknown}{if}{this}{key}{combination}{exists}{yet}{or}{not}){print "Nothing prints here; Good!"} if ($myHash{unknown}{if}{this}{key}{combination}{exists}{yet}{or} ){print "This will print, although we'd like it not to...";} #### if (exists($myHash{unknown}{if}{this}{key}{combination}{exists}{yet}{or}{not}) and $myHash{unknown}{if}{this}{key}{combination}{exists}{yet}{or}{not}){...} #### if ($myHash{"this_key_does_not_exist"){...} #### Readonly::Hash $myHash => ("key1" = "val1",); $myTempValue = $myHash{"this_key_does_not_exist"}; #### no autovivification; my %myHash = (); if ($myHash{unknown}{if}{this}{key}{combination}{exists}{yet}{or}{not}){print "Nothing prints here; Good!"} if ($myHash{unknown}{if}{this}{key}{combination}{exists}{yet}{or} ){print "This will NOT print! That is exactly what we want!";} #### cpan > notest install autovivification > q