Win32::TieRegistry question

2008-09-26 Thread Michael Ellery
Win32-ers, Does anyone know off-hand what TieRegistry should do with a statment like this: $Registry-{'LMachine/Software/Bar'} = {'SubKey/' = { '/SomeValue' = 1 }}; ..specifically, with respect to the type of the SomeValue entry? I had thought that it would create a DWORD value since the value

Re: Win32::TieRegistry question

2008-09-26 Thread anthony . okusanya
From: Michael Ellery [EMAIL PROTECTED] To: 'perl-win32-users' perl-win32-users@listserv.ActiveState.com Date: 09/26/2008 01:23 PM Subject: Win32::TieRegistry question Win32-ers, Does anyone know off-hand what TieRegistry should do with a statment like this: $Registry-{'LMachine/Software/Bar

Win32::TieRegistry question

2003-10-01 Thread steve silvers
I'm able to get my DNS information from the registry but updating it is giving me a problem.. $DNS = $Registry-{//$comp_name/LMachine/System/CurrentControlSet/Services/Tcpip/Parameters/Interfaces/@get} or die Problem opening registry DNS: $DNS $^E\n; # Insert values.

RE: Win32::TieRegistry question

2003-10-01 Thread Tobias Hoellrich
::TieRegistry question I'm able to get my DNS information from the registry but updating it is giving me a problem.. $DNS = $Registry-{//$comp_name/LMachine/System/CurrentControlSet/Se rvices/Tcpip/Parameters/Interfaces/@get} or die Problem opening registry DNS: $DNS

RE: Win32::TieRegistry question

2003-10-01 Thread Gerber, Christopher J
-Original Message- From: steve silvers [mailto:[EMAIL PROTECTED] $DNS-{'NameServer'}=[[$primary\0$secondary\0],REG_SZ]; The problem is on the insert. This is a REG_SZ field, but after I run my script the setting reads

Win32::TieRegistry Question

2002-11-05 Thread steve silvers
The documentation says to use: # \x00 and \0 used to mark ends of each string and end of list. I'm using: $NameServerList-{$_} = [ [\x00111.111.111.111\0222.222.222.222\0],REG_MULTI_SZ]; But this is not working as inteded. The above is the primary and secondary ip addressed. In the registry

Re: Win32::TieRegistry Question

2002-11-05 Thread $Bill Luebkert
steve silvers wrote: The documentation says to use: # \x00 and \0 used to mark ends of each string and end of list. I'm using: $NameServerList-{$_} = [ [\x00111.111.111.111\0222.222.222.222\0],REG_MULTI_SZ]; But this is not working as inteded. The above is the primary and secondary ip