in reply to Re: Re: quick question about hash element accessin thread quick question about hash element access
use List::Util qw(reduce); my %c = (1 => { 2 => { 3 => 4 }}); print reduce { $a->{$b} } \%c, split(/\./, "1.2.3"); [download]