Here's what I did:
The program did not die and here's what was printed:eval { @regValues = $fieldKey->ValueNames; }; print "\$\^E: $^E\nregLastError: " . Win32API::Registry::regLastError( +) ."\n\n";
Without the eval:$^E: regLastError: No more data is available
the program dies and prints this:@regValues = $fieldKey->ValueNames; print "\$\^E: $^E\nregLastError: " . Win32API::Registry::regLastError( +) ."\n\n";
However, I may not have used eval correctly or as you intended. If not let me know and I'll do it again.$^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.
Thanks,
Chris
In reply to Re^2: Win32::TieRegistry Error (or is it me?) (leads)
by ChrisR
in thread Win32::TieRegistry Error (or is it me?)
by ChrisR
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |