for (my($k,$v)=each %{$data2->[0]}){
You may need to use while in place of for to get all the value in %{$data2->[0]}
In reply to Re^3: Insert into element into arrays ref
by aartist
in thread Insert into element into arrays ref
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |