Skip Menu |

This queue is for tickets about the Catalyst-View-Component-SubInclude CPAN distribution.

Report information
The Basics
Id: 91021
Status: open
Priority: 0/
Queue: Catalyst-View-Component-SubInclude

Owner: Nobody in particular
Requestors: upasna.shukla [...]
cpan [...]

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:01 +0530
To: bug-Catalyst-View-Component-SubInclude [...]
From: "Upasana Shukla" <upasna.shukla [...]>
Download (untitled) / with headers
text/plain 535b
We recently deprecated Class::MOP::load_class in Moose. It appears that your module is affected. You can read more about the change here: 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 : or on #moose & #moose-dev on
Attached patch fixes the issue. -- Cheers, ZZ [ ]
Subject: Catalyst-View-Component-SubInclude.patch
diff --git a/Makefile.PL b/Makefile.PL index 0a3b6d9..9512b98 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -12,6 +12,7 @@ requires 'Catalyst::Plugin::SubRequest'; requires 'Moose'; requires 'Moose::Role'; requires 'MooseX::Types'; +requires 'Class::Load' => '0.20'; requires 'Carp'; requires 'namespace::clean'; requires 'LWP::UserAgent'; diff --git a/lib/Catalyst/View/Component/ b/lib/Catalyst/View/Component/ index f77345f..16a1740 100644 --- a/lib/Catalyst/View/Component/ +++ b/lib/Catalyst/View/Component/ @@ -3,7 +3,7 @@ use Moose::Role; use Carp qw/croak/; use Catalyst::Utils (); -use Class::MOP (); +use Class::Load (); use MooseX::Types::Moose qw/Str HashRef/; use namespace::clean -except => 'meta'; @@ -194,7 +194,7 @@ sub _subinclude_plugin_class_instance { $short_class : __PACKAGE__ . '::' . $short_class; - Class::MOP::load_class($class); + Class::Load::load_class($class); return $cache->{$class} = $class->new($plugin_config); }

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to