use strict; use warnings; my @arr=(12,13,14); my %hash=( "outer"=>( "cool"=>1, "Kewl"=>2,"odd" ) ); print keys %hash,"||",values %hash," ",$hash{"2"}; #### my %hash=( "outer"=>{ "cool"=>1, "Kewl"=>2, } );