in reply to Re^3: Remove multiple fields from hashref?
in thread Remove multiple fields from hashref?

Yeah, thats about it :)

FWIW, you don't need the extra {} in this case , but its the simplest rule to remember

$ perl -MData::Dump -e " $f = { 1..8 }; delete @$f{1..4}; dd$f; " { 5 => 6, 7 => 8 }

Also happens to be first rule in References quick reference

99/100 I use rule 1 :)