http://qs321.pair.com?node_id=211050


in reply to Win32::TieRegistry disperate situation

you're doing:
$lista= $Registry->Connect( "$ip", "LMachine" )
at this point, $lista contains the Registry of the remote machine. then you do:
$lista=$Registry->{"HKEY_LOCAL_MACHINE/..."}
so you're opening a key on the local registry ($Registry).

it should probably be something like:

$Remote = $Registry->Connect( "$ip", "LMachine" ) or die "blah...\n"; $lista = $Remote->{"HKEY_LOCAL_MACHINE/..."};
cheers,
Aldo

King of Laziness, Wizard of Impatience, Lord of Hubris