Skip Menu |

This queue is for tickets about the XML-Bare CPAN distribution.

Report information
The Basics
Id: 45458
Status: resolved
Priority: 0/
Queue: XML-Bare

People
Owner: cpan [...] codechild.com
Requestors: almut-behrens [...] gmx.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.43
Fixed in: 0.44



Subject: Version handling in Makefile.PL fails with 5.10.0
The following snippet (Makefile.PL, line 27) my $ver = $]*1000; # correct for possibile division problems my ($major,$minor,$sub) = unpack("AA3xA3","$ver"); fails with 5.10.0, because the multiplication yields 5010, which the subsequent unpack() cannot handle... See also http://perlmonks.org/?node_id=760220
This will be corrected in the next version. I will likely rewrite the line to use something other than unpack since it is a yucky solution imo. On Sun Apr 26 21:04:48 2009, almut-behrens@gmx.net wrote: Show quoted text
> The following snippet (Makefile.PL, line 27) > > my $ver = $]*1000; # correct for possibile division problems > my ($major,$minor,$sub) = unpack("AA3xA3","$ver"); > > fails with 5.10.0, because the multiplication yields 5010, which the > subsequent unpack() cannot handle... > > See also http://perlmonks.org/?node_id=760220
Version 0.44 has now been released and resolves this issue.