in reply to In Win32::TieRegistry, what is the best way to tell if a registry variable exists?

In addition to ikegami's advice, you could open the registry in read only mode:
$key= new Win32::TieRegistry "LMachine\\Software\\", { Access=>KEY_READ(), Delimiter=>"\\" };
  • Comment on Re: In Win32::TieRegistry, what is the best way to tell if a registry variable exists?
  • Download Code