Skip Menu |

This queue is for tickets about the Role-LibXSLT-Extender CPAN distribution.

Report information
The Basics
Id: 90986
Status: resolved
Priority: 0/
Queue: Role-LibXSLT-Extender

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:40:23 +0530
To: bug-Role-LibXSLT-Extender [...] 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: Role-LibXSLT-Extender-1.101580.patch
diff -Naur Role-LibXSLT-Extender-1.101580_orig/bin/xxslt.pl Role-LibXSLT-Extender-1.101580/bin/xxslt.pl --- Role-LibXSLT-Extender-1.101580_orig/bin/xxslt.pl 2014-01-24 22:49:30.038623173 -0500 +++ Role-LibXSLT-Extender-1.101580/bin/xxslt.pl 2014-01-24 22:50:06.922623659 -0500 @@ -1,7 +1,7 @@ #!/usr/bin/perl use Moose; use Try::Tiny; - +use Class::Load; =head1 NAME xxslt.pl - load Perl extension classes while performing XSLT transformations. @@ -46,7 +46,7 @@ # load the extension class try { - Class::MOP::load_class( $extension_class ); + Class::Load::load_class( $extension_class ); } catch { die "Couldn't load extension class '$extension_class': $_ \n"; diff -Naur Role-LibXSLT-Extender-1.101580_orig/Makefile.PL Role-LibXSLT-Extender-1.101580/Makefile.PL --- Role-LibXSLT-Extender-1.101580_orig/Makefile.PL 2014-01-24 22:49:30.038623173 -0500 +++ Role-LibXSLT-Extender-1.101580/Makefile.PL 2014-01-24 22:50:27.146623924 -0500 @@ -24,7 +24,8 @@ 'PREREQ_PM' => { 'Moose' => '0', 'XML::LibXSLT' => '1.70', - 'namespace::autoclean' => '0' + 'namespace::autoclean' => '0', + 'Class::Load' => '0.20', }, 'VERSION' => '1.101580', 'test' => {
RT-Send-CC: upasna.shukla [...] gmail.com
Patch applied. New version headed to CPAN.