Skip Menu |

This queue is for tickets about the Win32API-Registry CPAN distribution.

Report information
The Basics
Id: 95202
Status: rejected
Priority: 0/
Queue: Win32API-Registry

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
Cc:
AdminCc:

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



Subject: "More data available" error breaks Date::Manip
This program (extracted from Date::Manip and simplified) prints error on Strawberry perl 5.19.11 use 5.012; use Win32::TieRegistry; my $lmachine = new Win32::TieRegistry 'LMachine', { Access => Win32::TieRegistry::KEY_READ(), Delimiter => '/' } or die; my $atz = $lmachine->Open('SOFTWARE/Microsoft/Windows NT/CurrentVersion/Time Zones/'); die if (! defined($atz) || ! $atz); eval { $atz->SubKeyNames(); }; if ($@) { say $@; say $^E; say Win32::GetLastError(); say Win32::FormatMessage( Win32::GetLastError() ); } say "\$Win32::TieRegistry::_MoreData = $Win32::TieRegistry::_MoreData"; output: Can't use an undefined value as an ARRAY reference at C:/strawberry1911/perl/vendor/lib/Win32/TieRegistry.pm line 718. Имеются дополнительные данные 234 Имеются дополнительные данные. $Win32::TieRegistry::_MoreData = 234 message in Russian is "More data available" .reg file with export of this branch is attached. reason of die is that $self->{SUBKEYS} is undef due to "More data available" error -- Alexandr Ciornii, http://chorny.net
Subject: tz.reg
Download tz.reg
application/octet-stream 198k

Message body not shown because it is not plain text.

marking as rejected as 1. it was wrong queue 2. I wrote a patch for Win32::TieRegistry -- Alexandr Ciornii, http://chorny.net