Skip Menu |

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

Report information
The Basics
Id: 54757
Status: open
Priority: 0/
Queue: Catalyst-View-GD

People
Owner: Nobody in particular
Requestors: NIERLEIN [...] cpan.org
Cc:
AdminCc:

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



Subject: Catalyst::View::GD uses NEXT, which is deprecated
Seems like Catalyst::View::GD uses a deprectated method: Catalyst::View::GD uses NEXT, which is deprecated. Please see the Class::C3::Adopt::NEXT documentation for details. NEXT used at /tmp/.../local-lib/perl5/lib/perl5/Catalyst/View/GD.pm line 25 I have Class::C3 installed in version 0.22. Thanks
Am Do 18. Feb 2010, 10:25:57, NIERLEIN schrieb: Show quoted text
> Seems like Catalyst::View::GD uses a deprectated method: > Catalyst::View::GD uses NEXT, which is deprecated. Please see the > Class::C3::Adopt::NEXT documentation for details. NEXT used at > /tmp/.../local-lib/perl5/lib/perl5/Catalyst/View/GD.pm line 25
Could somebody please apply the attached patch and release an updated version to fix this issue. Thanks! :) --Toby
Subject: GD.patch
--- GD.pm 2011-01-27 12:29:38.000000000 +0100 +++ GD.pm.patched 2011-01-27 12:28:57.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -use NEXT; +use MRO::Compat; use GD; use Scalar::Util 'blessed'; @@ -22,7 +22,7 @@ sub new { my($class, $c, $args) = @_; - my $self = $class->NEXT::new($c, $args); + my $self = $class->maybe::next::method($c, $args); my $config = $c->config->{'View::GD'};