Skip Menu |

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

Report information
The Basics
Id: 38714
Status: resolved
Priority: 0/
Queue: Win32-TieRegistry

People
Owner: Nobody in particular
Requestors: jloverso [...] mathworks.com
Cc:
AdminCc:

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



Subject: Missing Win32::TieRegistry 0.26
libwin32 0.26 and 0.27 contained Win32::TieRegistry 0.26. However, this version is 0.25. Where is 0.26 on CPAN?
Subject: Re: [rt.cpan.org #38714] Missing Win32::TieRegistry 0.26
Date: Mon, 25 Aug 2008 21:03:18 -0700
To: bug-Win32-TieRegistry [...] rt.cpan.org
From: "Tye McQueen" <tye.mcqueen [...] gmail.com>
Isn't libwin32 on CPAN? libwin32 0.26 and 0.27 contained Win32::TieRegistry 0.26. However, this Show quoted text
> version is 0.25. Where is 0.26 on CPAN? >
From: jloverso [...] mathworks.com
On Tue Aug 26 00:04:31 2008, tye.mcqueen@gmail.com wrote: Show quoted text
> Isn't libwin32 on CPAN? > > libwin32 0.26 and 0.27 contained Win32::TieRegistry 0.26. However, this
> > version is 0.25. Where is 0.26 on CPAN? > >
libwin32 as of 0.28 stopped including Win32::TieRegistry. As of libwin32 0.29 (and 0.30), libwin32 is just a CPAN Bundle. So, if you install the 'current' libwin32 via CPAN today, you will get Win32::TieResitry 0.25.
From: jloverso [...] mathworks.com
I see that the ActiveState 5.10.0 has been hit by this problem. Build 1001 contained 0.26 while 1003 contains 0.25. H:\> diff -wuU2 d:\Perl-5.10.0-1001\lib\Win32\TieRegistry.pm d:\Perl-5.10.0-1003\lib\Win32\TieRegistry.pm --- d:\Perl-5.10.0-1001\lib\Win32\TieRegistry.pm Mon Sep 19 17:49:36 2005 +++ d:\Perl-5.10.0-1003\lib\Win32\TieRegistry.pm Thu Mar 23 18:33:06 2006 @@ -7,14 +7,11 @@ # - package Win32::TieRegistry; - use strict; use vars qw( $PACK $VERSION @ISA @EXPORT @EXPORT_OK ); -$PACK= "Win32::TieRegistry"; # Used in error messages. -$VERSION= '0.26'; - +$PACK = 'Win32::TieRegistry'; # Used in error messages. +$VERSION = '0.25'; # Released 2006-03-23 use Carp; @@ -44,5 +41,4 @@ } - #Implementation details: # When opened: @@ -89,5 +85,4 @@ $Flag_FixNulls= 0x0080; - use vars qw( $RegObj %_Roots %RegHash $Registry ); @@ -318,6 +313,5 @@ my $subKey= join( $this->OS_Delimiter, @$subPath ); my $handle= 0; - $this->RegOpenKeyEx( $subKey, 0, $sam, $handle ) - or return (); + $this->RegOpenKeyEx( $subKey, 0, $sam, $handle ) or return (); return $this->_new( $handle, [ @{$this->_Path}, @$subPath ], { ACCESS=>$sam, ( defined($this->{UNLOADME}) ? ("DEPENDON",$this) @@ -526,5 +520,5 @@ my $self= shift(@_); $self= tied(%$self) if tied(%$self); - my( $flush )= shift(@_); + my( $flush )= @_; @_ and croak "Usage: \$key->Flush( \$bFlush );"; return 0 if "NONE" eq $self->Handle; @@ -1485,5 +1479,4 @@ return if tied(%$self); my $unload; - local $@; eval { $unload= $self->{UNLOADME}; 1 } or return;