Skip Menu |

This queue is for tickets about the Data-Zipper CPAN distribution.

Report information
The Basics
Id: 91026
Status: open
Priority: 0/
Queue: Data-Zipper

People
Owner: Nobody in particular
Requestors: upasna.shukla [...] gmail.com
cpan [...] zoffix.com
Cc:
AdminCc:

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



Subject: New Moose may break your code
Date: Fri, 29 Nov 2013 03:43:23 +0530
To: bug-Data-Zipper [...] rt.cpan.org
From: "Upasana Shukla" <upasna.shukla [...] gmail.com>
We recently deprecated Class::MOP::load_class in Moose. It appears that your module is affected. You can read more about the change here: https://metacpan.org/pod/release/ETHER/Moose-2.1106-TRIAL/lib/Moose/Manual/Delta.pod#pod2.1200 We recommend that you take a look at your code to see if it indeed does need to be updated with respect to the latest Moose release, 2.1106-TRIAL. If you have any questions, then please ask either on Moose mailing list : http://lists.perl.org/list/moose.html or on #moose & #moose-dev on irc.perl.org.
Attached patch fixes the issue. -- Cheers, ZZ [ https://metacpan.org/author/ZOFFIX ]
Subject: Data-Zipper-0.02.patch
diff -Naur Data-Zipper-0.02_orig/dist.ini Data-Zipper-0.02/dist.ini --- Data-Zipper-0.02_orig/dist.ini 2011-02-07 10:24:02.000000000 -0500 +++ Data-Zipper-0.02/dist.ini 2014-01-25 12:50:17.869281644 -0500 @@ -24,6 +24,7 @@ Moose = 1.19 MooseX::Role::Parameterized = 0.19 MooseX::Types::Structured = 0.24 +Class::Load = 0.20 namespace::autoclean = 0.11 [Prereq / tests] diff -Naur Data-Zipper-0.02_orig/lib/Data/Zipper.pm Data-Zipper-0.02/lib/Data/Zipper.pm --- Data-Zipper-0.02_orig/lib/Data/Zipper.pm 2011-02-07 10:24:02.000000000 -0500 +++ Data-Zipper-0.02/lib/Data/Zipper.pm 2014-01-25 12:50:46.765424936 -0500 @@ -7,7 +7,7 @@ use warnings FATAL => 'all'; use Carp 'confess'; -use Class::MOP; +use Class::Load; use Scalar::Util 'blessed'; use Sub::Exporter -setup => { exports => [qw( zipper )] @@ -30,7 +30,7 @@ die 'Cannot zip ' . ref($data) . ' objects'; } - Class::MOP::load_class($class); + Class::Load::load_class($class); return $class->new(%args); }