Skip Menu |

This queue is for tickets about the MARC-Charset CPAN distribution.

Report information
The Basics
Id: 57392
Status: resolved
Worked: 15 min
Priority: 0/
Queue: MARC-Charset

People
Owner: Nobody in particular
Requestors: ntyni [...] iki.fi
Cc:
AdminCc:

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



Subject: Use Storable::nfreeze for portability
Hi, MARC::Charset::Table uses Storable::freeze to store the code objects in the database. This has the consequence that if the Perl binary interface changes, for example because a new Perl installation uses -Duse64bitint or -Duselongdouble, the database becomes unusable. Double size is not compatible at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/thaw.al) line 415, at /usr/share/perl5/MARC/Charset/Table.pm line 97 I believe Storable::nfreeze could be used to easily get a more portable database, eliminating this problem. FWIW, this is http://bugs.debian.org/579517 and as I don't see much chance for breakage I think we're going to do this for Debian. Please let me know if you see any problems with this. Many thanks for your work, -- Niko Tyni (Debian Perl group) ntyni@debian.org
Fixed in v1.2 just released to CPAN. Thanks for reporting the bug and suggesting a fix. Tests passed so that seemed good enough for me.