in reply to Deleting hash entry

I don't want the hash entries where single digit numbers are keys

You can delete a hash slice:

delete @hash{0..9};

Note that because your question isn't directly related to the OP, and the OP is ~13 years old, it would have been better if this was posted as a new question, which is why I've considered your node. Update: Node has since been reparented, and I added link to the original parent node.