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
In reply to Re: removing element from hash array
by davorg
in thread removing element from hash array
by jithoosin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |