##
$foo = {
'a' => {
'b' => {
'c' => {
'd' => 1
}
}
}
};
##
##
print %{$foo->{a}->{d}}
##
##
my $bar = $foo->{a}->{d};
print %$bar if $bar;