in reply to Re: Scanning of 64 Bit registry
in thread Scanning of 64 Bit registry

The handle is invalid

I get the same problem when trying similar examples to the POD. That is:
use Win32::TieRegistry( Delimiter=>"#", ArrayValues=>0 ); $pound= $Registry->Delimiter("/"); $diskKey= $Registry->{"LMachine/System"} or die "Can't read LMachine/System key: $^E\n";
and
use Win32::TieRegistry; my $tip18= $Registry->{"HKEY_LOCAL_MACHINE\\Software\\Microsoft\\" . 'Windows\\CurrentVersion\\Explorer\\Tips\\\\18'} or d +ie "$^E\n";

Replies are listed 'Best First'.
Re^3: Scanning of 64 Bit registry
by Anonymous Monk on Jan 10, 2011 at 14:03 UTC
    Try require Win32::TieRegistry; warn $^E;
Re^3: Scanning of 64 Bit registry
by Anonymous Monk on Jan 10, 2011 at 14:05 UTC
    Or better yet add
    BEGIN { $ENV{DEBUG_TIE_REGISTRY}=99; } ...
Re^3: Scanning of 64 Bit registry
by Anonymous Monk on Jun 16, 2015 at 09:23 UTC
    I had this error and for me it was because of permissions. When I run command prompt as administrator, it works fine.