Skip Menu |

This queue is for tickets about the CatalystX-Script-FCGI-Engine CPAN distribution.

Report information
The Basics
Id: 91016
Status: open
Priority: 0/
Queue: CatalystX-Script-FCGI-Engine

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:42:39 +0530
To: bug-CatalystX-Script-FCGI-Engine [...] 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: CatalystX-Script-FCGI-Engine-0.003.patch
diff -Naur CatalystX-Script-FCGI-Engine-0.003_orig/lib/CatalystX/Script/FCGI/Engine.pm CatalystX-Script-FCGI-Engine-0.003/lib/CatalystX/Script/FCGI/Engine.pm --- CatalystX-Script-FCGI-Engine-0.003_orig/lib/CatalystX/Script/FCGI/Engine.pm 2014-01-24 19:57:15.706333117 -0500 +++ CatalystX-Script-FCGI-Engine-0.003/lib/CatalystX/Script/FCGI/Engine.pm 2014-01-24 19:57:52.766333603 -0500 @@ -1,6 +1,7 @@ package CatalystX::Script::FCGI::Engine; use Moose; use FCGI::Engine; +use Class::Load; use namespace::autoclean; our $VERSION = '0.003'; @@ -14,7 +15,7 @@ sub _run_application { my $self = shift; my ($listen, $args) = $self->_application_args; - Class::MOP::load_class($self->application_name); + Class::Load::load_class($self->application_name); my @detach = delete($args->{detach}) ? ( detach => 1 ) : (); my @listen = $listen ? (listen => $listen, use_manager => 1) : (); $args->{nproc} ||= 5; diff -Naur CatalystX-Script-FCGI-Engine-0.003_orig/Makefile.PL CatalystX-Script-FCGI-Engine-0.003/Makefile.PL --- CatalystX-Script-FCGI-Engine-0.003_orig/Makefile.PL 2014-01-24 19:57:15.706333117 -0500 +++ CatalystX-Script-FCGI-Engine-0.003/Makefile.PL 2014-01-24 19:58:03.174333739 -0500 @@ -10,6 +10,7 @@ requires 'FCGI::Engine'; requires 'Moose'; requires 'namespace::autoclean'; +requires 'Class::Load' => '0.20'; build_requires 'Catalyst::Runtime' => '5.80015'; build_requires 'Test::More' => '0.88';