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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Unable to delete registry keys using Win32::TieRegistry ('/')
by liverpole (Monsignor) on Sep 01, 2010 at 03:53 UTC | |
by tye (Sage) on Sep 01, 2010 at 04:04 UTC |
In Section
Seekers of Perl Wisdom