I have found that
one error :
my $Path =
"Reg:HKEY_LOCAL_MACHINE\Software\TestKey1\TestKey2";
Should be: my $Path =
"Reg:HKEY_LOCAL_MACHINE\\Software\\TestKey1\\TestKey2";
But my basic questions and problem still persist.
Thanks.
