Your presentation is a bit confusing, but it appears to me that it fails the same way both times. So you provide no evidence that "2 times" has anything to do with your problem.
My guess is simply that CurrentVersion is a subkey of LMachine/Software/ActiveState/ActivePerl, not a value. If so, that would make sense why trying to open a value named "CurrentVersion" would give you the "not found" error.
- tye
In reply to Re: Win32API::Registry -- RegOpenKeyEx fails when called 2 times. (subkey ne value)
by tye
in thread Win32API::Registry -- RegOpenKeyEx fails when called 2 times.
by ashah21
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |