Greetings,
I am trying to write to the registry using example code that I got from le-
berre.com
I obviously did something from here coz this does not work.
--- Start code ---
print ("Inserting registry settings [@ARGV[$i]]\n");
my $Register = "thiskey/test";
my $hkey;
$HKEY_CURRENT_USER->Open ($Register,$hkey) || die ("Cannot open
registry\n");
undef my $garbage;
$hkey->SetValueEx("TestValue",$garbage,REG_SZ,"Friggin test");
$hkey->Close;
--- End code ---
It dies & returns cannot open the registry.
Please help me understand what I am doing wrong and show some examples
please.
Regards
LK
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]