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
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
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.
::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
-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
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
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