From:
Michael Ellery <[EMAIL PROTECTED]>
To:
'perl-win32-users' <[email protected]>
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'} = {'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 assigned is
integer, but based on a quick experiment, I seem to assume wrong (it
creates a REG_SZ). Anyone have any insight into this? What's the
"right" way to create/assign REG_SZ values?
Thanks,
Mike Ellery
you need to specify a data type as it defaults to REG_SZ
$Registry->{'LMachine/Software/Bar'} = {'SubKey/' => { '/SomeValue' => [
"0x0001", "REG_DWORD" ] }};
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
U.S. BANCORP made the following annotations
---------------------------------------------------------------------
Electronic Privacy Notice. This e-mail, and any attachments, contains
information that is, or may be, covered by electronic communications privacy
laws, and is also confidential and proprietary in nature. If you are not the
intended recipient, please be advised that you are legally prohibited from
retaining, using, copying, distributing, or otherwise disclosing this
information in any manner. Instead, please reply to the sender that you have
received this communication in error, and then immediately delete it. Thank you
in advance for your cooperation.
---------------------------------------------------------------------
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs