I would like to delete a key from a hash of array reference:
if the "key" which I want to delete is 'Test', I tried something like
$Test = 'Test';
foreach my $k (keys %{$line}) {
@{$line->{$k}} = grep @{$line->{'$Test'}} != 0, @{$line->{$k}};
}
But I could not remove it! Could someone tell me how to remove it?
$linelokks like and what your plan exactly is. You should write a complete example, preferably with sample output.