Skip Menu |

This queue is for tickets about the Catalyst-View-Excel-Template-Plus CPAN distribution.

Report information
The Basics
Id: 53781
Status: resolved
Priority: 0/
Queue: Catalyst-View-Excel-Template-Plus

People
Owner: rbo [...] cpan.org
Requestors: karman [...] cpan.org
Cc:
AdminCc:

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



Subject: NEXT deprecated
Catalyst::Runtime 5.80015 gives this warning at startup: Catalyst::View::Excel::Template::Plus uses NEXT, which is deprecated. Please see the Class::C3::Adopt::NEXT documentation for details. NEXT used at ..../Catalyst/View/Excel/Template/Plus.pm line 25 Patch is: --- /usr/local/perl/5.8.9/lib/site_perl/5.8.9/Catalyst/View/Excel/Template/Plus.pm.orig 2010-01-17 13:36:03.000000000 -0600 +++ /usr/local/perl/5.8.9/lib/site_perl/5.8.9/Catalyst/View/Excel/Template/Plus.pm 2010-01-17 13:36:55.000000000 -0600 @@ -3,7 +3,8 @@ use strict; use warnings; -use NEXT; +use MRO::Compat; +use mro 'c3'; use Excel::Template::Plus; use Scalar::Util 'blessed'; @@ -22,7 +23,7 @@ sub new { my($class, $c, $args) = @_; - my $self = $class->NEXT::new($c, $args); + my $self = $class->next::method($c, $args); my $config = $c->config->{'View::Excel::Template::Plus'};