in reply to delete from HoH ref

Works for me:
$ cat /tmp/p my $HoHref = { a => { p => 1 }, b => { q => 1 } }; use Data::Dumper; print Dumper $HoHref; delete $HoHref->{a}; print Dumper $HoHref; $ $ perl /tmp/p $VAR1 = { 'a' => { 'p' => 1 }, 'b' => { 'q' => 1 } }; $VAR1 = { 'b' => { 'q' => 1 } };
You'll need to give more details, such as a small (but complete) sample script, for us to help you further.

Dave.

Replies are listed 'Best First'.
Re^2: delete from HoH ref
by Stephen Toney (Sexton) on Apr 10, 2005 at 16:15 UTC
    Thanks for the reply. I looked harder at my code and realized the delete was working but I had a control-flow problem!

    Thank you, Stephen