in reply to Removing key/value pairs from a hash
delete $h{$_} for (grep {ref $h{$_}} keys %h); [download]