in reply to Re: Win32::TieRegistry Error (or is it me?) (leads)
in thread Win32::TieRegistry Error (or is it me?)
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Win32::TieRegistry Error (or is it me?) (leads)
by tye (Sage) on Sep 27, 2005 at 03:01 UTC | |
by ChrisR (Hermit) on Sep 27, 2005 at 03:11 UTC | |
by tye (Sage) on Sep 27, 2005 at 03:30 UTC | |
by ChrisR (Hermit) on Sep 27, 2005 at 03:46 UTC | |
by ChrisR (Hermit) on Sep 27, 2005 at 19:55 UTC | |
by tye (Sage) on Oct 04, 2005 at 03:56 UTC |