in reply to seeking in hash data structure
use List::Util qw(reduce); my $item = reduce { $a->{$b} } $hash, @path_segments;
In Section
Seekers of Perl Wisdom
in reply to seeking in hash data structure
use List::Util qw(reduce); my $item = reduce { $a->{$b} } $hash, @path_segments;