TieRegistry module fails to enumerate values

Posted by huw_walters on 2007-03-14 10:46

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.

Many thanks,


TestReg.pl_.txt722 bytes

Andrey | Wed, 2007-03-28 03:32

I have the same situation, :( Actually it destroys all our Perl based system... Migrated back to 638

ActiveState Staff
Wed, 2007-03-28 11:19

Hello folks,

Just a quick note to let you know I've put this in front of the Perl developers and they're having a look at it. I don't know what the resolution will be just yet (I modified the code TieRegistry.pm in the "obvious" way and it works, but I don't know what that change might break), but it is on the radar.



merlinx | Mon, 2007-06-25 00:55

We have the same phenomenon as described at http://bugs.activestate.com/komodo/show_bug.cgi?id=67082

Any idea when this will be resolved or is there a workaround yet? And if the workaround exists canwe use it or not?

Please let me know, we are in the process of migrating from perl build 633 to perl build 820.

bitdreamer | Tue, 2015-02-17 13:57