To all those who
replied to my previous post, thanks...you got me pointed in the right
direction. Here's the problem I'm having now.
The following code
works great on the local machine if I remove the //$host/ from the path name in
the Open methods, but fails on the first Open attempt when I try to run it
against a remote machine. Any ideas?
use Win32::TieRegistry (Delimiter =>
"/");
my $key;
my $host = "ajax";
my $host = "ajax";
if ($key =
$Registry->Open("//$host/LMachine/SOFTWARE/FOO/BAR/")) {
$key->CreateKey("Eric//")
or
print "$^E\n";
print "$^E\n";
$key =
$Registry->Open("//$host/LMachine/SOFTWARE/FOO/BAR/Eric/");
$key->SetValue("MACAddress",
"BIGMAC") or
print "$^E\n";
print "$^E\n";
} else {
print "Error: $^E\n";
}
print "Error: $^E\n";
}
