in reply to Removing key/value pairs from a hash
;-)delete $h{$_} for (grep {ref $h{$_}} keys %h);
Mickey
|
---|
In Section
Seekers of Perl Wisdom
in reply to Removing key/value pairs from a hash
;-)delete $h{$_} for (grep {ref $h{$_}} keys %h);
|
---|