in reply to Multidimensional arrayrefs constructed from anonymous arrayrefs
Though if I'm working with an array of arrays, I don't generally want to just eliminate random elements and let the other ones move around. I generally think of position $i, $j as coordinates that should remain fixed. But YMMV.foreach my $row (@$values) { @$row = grep {$_ ne "UNKNOWN"} @$row; }
|
|---|