$href = { 'a' => { 't' => { 'x' => { '2008-08-07' => 1 } } } 'b' => { 'd' => { 'o' => { '2008-08-06' => 1 } } } }; #### @array = ('a', 't', 'x', '2008-08-07'); #### if (exists $href->{a}->{t}->{x}->{2008-08-07} ){ print "href value exists"; } #### @array2 = ('b', 't', 'm', 'p'); #### $href->{b}->{t}->{m}->{p}