http://qs321.pair.com?node_id=858269


in reply to Re: Unable to delete registry keys using Win32::TieRegistry
in thread Unable to delete registry keys using Win32::TieRegistry

Just don't leave off the trailing '/'. All of the other changes you made probably have no bearing on the problem. In particular, your use of Open() probably makes no difference.

If you leave off the trailing '/', then the module must try to guess whether you mean to delete a value or to delete a subkey. The logic to detect which seems the likely intent is more fragile and likely fails in this particular case.

- tye