I am having trouble with delimiters in this module:
use strict;
require('dumpvar.pl');
use Win32::TieRegistry ( TiedHash => '%RegHash' );
my $computer; my $Registry= \%RegHash;
my @keys= keys( %{ $Registry->{"HKEY_LOCAL_MACHINE"} } );
print "keys =@keys \n";
#writes:keys =HARDWARE\ SAM\ SECURITY\ SOFTWARE\ SYSTEM\
#die;
#my $tipdir0= $Registry->{"HKEY_LOCAL_MACHINE"};#works
my $tipdir0= $Registry->{"HKEY_LOCAL_MACHINE\\SYSTEM\\"};
#gives undef
&main::dumpValue($tipdir0);
Any (working) example for using delimiters?
use strict;
require('dumpvar.pl');
use Win32::TieRegistry ( TiedHash => '%RegHash' );
my $computer; my $Registry= \%RegHash;
my @keys= keys( %{ $Registry->{"HKEY_LOCAL_MACHINE"} } );
print "keys =@keys \n";
#writes:keys =HARDWARE\ SAM\ SECURITY\ SOFTWARE\ SYSTEM\
#die;
#my $tipdir0= $Registry->{"HKEY_LOCAL_MACHINE"};#works
my $tipdir0= $Registry->{"HKEY_LOCAL_MACHINE\\SYSTEM\\"};
#gives undef
&main::dumpValue($tipdir0);
Any (working) example for using delimiters?