in reply to Deleting registry keys

You're not providing much information, so I admit to making a few assumptions. You should check out Win32::TieRegistry. Look at the "more examples" section - there are examples on deleting keys.