I have a Perl script which enumerates registry values. This used to work, but now returns "Can't use an undefined value as an ARRAY reference at TieRegistry.pm line 684" (in the ValueNames function definition) when run from the Windows command line.
I believe I'm using the TieRegistry module correctly, according to the notes on CPAN, because it behaves as expected when run in Komodo. Can anyone explain what's going on here, and how to fix it?
I have Win32::TieRegistry version 0.26, presumably installed with ActivePerl build 820.