Skip Menu |

This queue is for tickets about the Win32-TieRegistry CPAN distribution.

Report information
The Basics
Id: 87494
Status: new
Priority: 0/
Queue: Win32-TieRegistry

People
Owner: Nobody in particular
Requestors: bjohnson [...] SERENA.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Attachments
Picture (Device Independent Bitmap) 1.jpg



Subject: Registry read fails on windows 2012 and windows 8
Date: Wed, 31 Jul 2013 18:36:57 +0000
To: "bug-Win32-TieRegistry [...] rt.cpan.org" <bug-Win32-TieRegistry [...] rt.cpan.org>
From: Brent Johnson <bjohnson [...] SERENA.com>
Hello ADAMK<https://rt.cpan.org/Public/Dist/ByMaintainer/ADAMK> & TYEMQ<https://rt.cpan.org/Public/Dist/ByMaintainer.html?Name=TYEMQ>, I have a bit of code that is use to import a DB on to my windows test boxes. The code determines several things using the TieRegistry to read the registry. Simplified code example: #!/usr/bin/perl use Win32::TieRegistry; my $sql_inst = $Registry->{"LMachine\\SOFTWARE\\Microsoft\\Microsoft SQL Server\\Instance Names\\SQL\\\\SQLEXPRESS"}; print "SQL INSTANCE: $sql_inst\n"; This code snippet works great on all previous Windows OS but does not work on the Windows 8 or Windows 2012 Server. You can see from this screenshot that the value is indeed there. I verified that I am up to date running ActiveState Perl v5.16.3 and have v0.26 of Win32::TieRegistry and v0.32 Win32API::Registry. I've taken a preliminary look at the perl module and could not find a simple work around, so I apologize if there is a simple way to make this work with the new generation of Windows OSs. I will be continuing to look for a solution and will let you know if I find anything. Thank you in advance for taking the time to read this email and looking into this potential bug. -Brent Johnson (bjohnson@serena.com)
Picture (Device Independent Bitmap) 1.jpg