in reply to •Re: Selecting particular key-value pairs in hashes
in thread Selecting particular key-value pairs in hashes

And, of course, you can omit the delete if you want the expression to evaluate to the desired hash without modifying the original data.