Attached patch fixes the issue.
--
Cheers,
ZZ [
https://metacpan.org/author/ZOFFIX ]
diff -Naur Catalyst-Plugin-Form-Processor-1.131420_orig/lib/Catalyst/Plugin/Form/Processor.pm Catalyst-Plugin-Form-Processor-1.131420/lib/Catalyst/Plugin/Form/Processor.pm
--- Catalyst-Plugin-Form-Processor-1.131420_orig/lib/Catalyst/Plugin/Form/Processor.pm 2014-01-25 11:02:33.389226023 -0500
+++ Catalyst-Plugin-Form-Processor-1.131420/lib/Catalyst/Plugin/Form/Processor.pm 2014-01-25 11:02:55.053333444 -0500
@@ -3,7 +3,7 @@
$Catalyst::Plugin::Form::Processor::VERSION = '1.131420';
}
use Moose::Role;
-use Class::MOP;
+use Class::Load;
use HTML::FillInForm;
use Module::Find;
use Scalar::Util;
@@ -33,7 +33,7 @@
$package .= '::' . ucfirst( $c->action->name );
}
- Class::MOP::load_class( $package );
+ Class::Load::load_class( $package );
# Single argument to Form::Processor->new means it's an item id or object.
@@ -174,7 +174,7 @@
warn "Loading form module [$form]\n" if $debug;
- Class::MOP::load_class( $form );
+ Class::Load::load_class( $form );
eval { $form->load_form }
|| die "Failed load_module for form module [$form]: $@" if $@;
diff -Naur Catalyst-Plugin-Form-Processor-1.131420_orig/Makefile.PL Catalyst-Plugin-Form-Processor-1.131420/Makefile.PL
--- Catalyst-Plugin-Form-Processor-1.131420_orig/Makefile.PL 2014-01-25 11:02:33.389226023 -0500
+++ Catalyst-Plugin-Form-Processor-1.131420/Makefile.PL 2014-01-25 11:03:07.001392693 -0500
@@ -24,7 +24,7 @@
"LICENSE" => "perl",
"NAME" => "Catalyst::Plugin::Form::Processor",
"PREREQ_PM" => {
- "Class::MOP" => 0,
+ "Class::Load" => "0.20",
"HTML::FillInForm" => 0,
"Module::Find" => 0,
"Moose::Role" => 0,
diff -Naur Catalyst-Plugin-Form-Processor-1.131420_orig/META.yml Catalyst-Plugin-Form-Processor-1.131420/META.yml
--- Catalyst-Plugin-Form-Processor-1.131420_orig/META.yml 2014-01-25 11:02:33.389226023 -0500
+++ Catalyst-Plugin-Form-Processor-1.131420/META.yml 2014-01-25 11:03:16.985442202 -0500
@@ -16,7 +16,7 @@
version: 1.4
name: Catalyst-Plugin-Form-Processor
requires:
- Class::MOP: 0
+ Class::Load: 0.20
HTML::FillInForm: 0
Module::Find: 0
Moose::Role: 0