Attached patch fixes the issue.
--
Cheers,
ZZ [
https://metacpan.org/author/ZOFFIX ]
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';