in reply to win registry delete
Another module that should be able to do what you need: Parse::Win32Registry.