my ($arr_ref)=func(); push @{ $arr_ref->[1][2] }, "elem"; # hate this @{}