in reply to how to use "delete" with a hash of hash
It's
delete $hoh{item2};
not
delete $hoh{$item2};
and it does do what you request - it deletes the key "item2" from the top-level hash.
|
---|
In Section
Seekers of Perl Wisdom
in reply to how to use "delete" with a hash of hash
It's
delete $hoh{item2};
not
delete $hoh{$item2};
and it does do what you request - it deletes the key "item2" from the top-level hash.
|
---|