$ perl -e 'my $a = [{ test => { val => 1 } }, { test => { val => 2} }];print $a->{test}->{val}, "\n"' Out of memory!