in reply to removing element from hash array
It's really not very clear what you want to do.
Here's one possible solution.
#!/usr/bin/perl use strict; use warnings; use Data::Dumper; my %hash = (list => { find => [ {type => 'error', column => 106 }, {type => 'warning', column => 1 } ] } +); print Dumper \%hash; pop @{$hash{list}{find}}; print Dumper \%hash;
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|