http://qs1969.pair.com?node_id=1182759


in reply to Re: Get hash values in multidimensional array
in thread Get hash values in multidimensional array to populate Term document matrix

your @arr array has never been populated with anything
It is for me. When I run the 1st code snippet (no strictures), I see something in @arr:
use Data::Dumper; print Dumper(\@arr); $VAR1 = [ [ { 'key' => 12, 'lop' => 9, 'pl' => 1 }, { 'key' => 12 } ] ];

What happens when you run it? The 2nd snippet has compile errors for me.