M
MSG
I am having trouble reading a particular Registry key on WinXP.
-----------------------------
#!perl
use strict;
use warnings;
use Win32::TieRegistry ( Delimiter=>'/' );
my $basekey = "LMachine/System/CurrentControlSet/Enum/";
my $reg = $Registry -> { $basekey }
or die "Failed at $basekey:\n -- $^E\n";
print join "\n", keys( %{$reg} );
------------------------------
It will error out and say:
"The system could not find the environment option that was entered"
That script can read all the sibling and parent keys without any
problems, just nothing under the Enum key.
I'd appreciate that someone can shine some light here!
-----------------------------
#!perl
use strict;
use warnings;
use Win32::TieRegistry ( Delimiter=>'/' );
my $basekey = "LMachine/System/CurrentControlSet/Enum/";
my $reg = $Registry -> { $basekey }
or die "Failed at $basekey:\n -- $^E\n";
print join "\n", keys( %{$reg} );
------------------------------
It will error out and say:
"The system could not find the environment option that was entered"
That script can read all the sibling and parent keys without any
problems, just nothing under the Enum key.
I'd appreciate that someone can shine some light here!