Skip Menu |

This queue is for tickets about the Catalyst-Plugin-CGI-Untaint CPAN distribution.

Report information
The Basics
Id: 75810
Status: new
Priority: 0/
Queue: Catalyst-Plugin-CGI-Untaint

People
Owner: Nobody in particular
Requestors: danielmcbrearty [...] gmail.com
Cc:
AdminCc:

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



Subject: Catalyst::Plugin::CGI::Untaint uses NEXT
Date: Fri, 16 Mar 2012 12:09:33 +0100
To: bug-Catalyst-Plugin-CGI-Untaint [...] rt.cpan.org
From: Daniel McBrearty <danielmcbrearty [...] gmail.com>
on a new Catalyst install, the following warning appears frequently : Catalyst::Plugin::CGI::Untaint uses NEXT, which is deprecated. Please see the Class::C3::Adopt::NEXT documentation for details. NEXT used at /usr/local/share/perl/5.10.1/Catalyst/Plugin/CGI/Untaint.pm line 13 The solution is, I think quite simple : change line 13 as follows: from : my $c = $class->NEXT::prepare( @_ ); to : my $c = $class->maybe::next::method(@_); see http://www.perlmonks.org/?node_id=816410 for more info. thanks! Daniel -- jazz clarinet and sax, songwriter and arranger http://www.danielmcbrearty.com
Subject: Re: [rt.cpan.org #75810] AutoReply: Catalyst::Plugin::CGI::Untaint uses NEXT
Date: Fri, 16 Mar 2012 12:15:04 +0100
To: bug-Catalyst-Plugin-CGI-Untaint [...] rt.cpan.org
From: Daniel McBrearty <danielmcbrearty [...] gmail.com>
I am wrong about the fix. If I change to : maybe::next::method::prepare then I get: Caught exception in engine "Can't locate object method "prepare" via package "maybe::next::method" (perhaps you forgot to load "maybe::next::method"?) at /usr/local/share/perl/5.10.1/Catalyst/Plugin/CGI/Untaint.pm line 13." so not sure what the fix is. On Fri, Mar 16, 2012 at 12:09 PM, Bugs in Catalyst-Plugin-CGI-Untaint via RT <bug-Catalyst-Plugin-CGI-Untaint@rt.cpan.org> wrote: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: >        "Catalyst::Plugin::CGI::Untaint uses NEXT", > a summary of which appears below. > > There is no need to reply to this message right now.  Your ticket has been > assigned an ID of [rt.cpan.org #75810].  Your ticket is accessible > on the web at: > >    https://rt.cpan.org/Ticket/Display.html?id=75810 > > Please include the string: > >         [rt.cpan.org #75810] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > >                        Thank you, >                        bug-Catalyst-Plugin-CGI-Untaint@rt.cpan.org > > ------------------------------------------------------------------------- > on  a new Catalyst install, the following warning appears frequently : > > Catalyst::Plugin::CGI::Untaint uses NEXT, which is deprecated. Please > see the Class::C3::Adopt::NEXT documentation for details. NEXT used > at /usr/local/share/perl/5.10.1/Catalyst/Plugin/CGI/Untaint.pm line 13 > > > The solution is, I think quite simple : change line 13 as follows: > > from : my $c = $class->NEXT::prepare( @_ ); > > to : my $c = $class->maybe::next::method(@_); > > see http://www.perlmonks.org/?node_id=816410 for more info. > > thanks! > > Daniel > > > -- > jazz clarinet and sax, songwriter and arranger > http://www.danielmcbrearty.com >
-- jazz clarinet and sax, songwriter and arranger http://www.danielmcbrearty.com