I was pretty sure that it wasn't the upgrade but that was the only that changed.
Here's what I did:
eval { @regValues = $fieldKey->ValueNames; };
print "\$\^E: $^E\nregLastError: " . Win32API::Registry::regLastError(
+) ."\n\n";
The program did not die and here's what was printed:
$^E:
regLastError: No more data is available
Without the eval:
@regValues = $fieldKey->ValueNames;
print "\$\^E: $^E\nregLastError: " . Win32API::Registry::regLastError(
+) ."\n\n";
the program dies and prints this:
$^E: No more data is available
regLastError: No more data is available
Can't use an undefined value as an ARRAY reference at C:/Perl/site/lib
+/Win32/TieRegistry.pm line 684, <DATA> line 164.
However, I may not have used eval correctly or as you intended. If not let me know and I'll do it again.
Thanks,
Chris