printsuse strict; use warnings; use Data::Dumper; my $h = { a => { c=>"b" }, A => { C=>"B" }, }; delete $h->{a}{c}; delete $h->{A}; print Dumper ($h);
as expected. You might want to show us some of your code.$VAR1 = { 'a' => {} };
In reply to Re: delete from HoH ref
by holli
in thread delete from HoH ref
by Stephen Toney
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |