Attached patch fixes the issue.
--
Cheers,
ZZ [
https://metacpan.org/author/ZOFFIX ]
diff -Naur App-TemplateServer-Provider-TD-0.01_orig/lib/App/TemplateServer/Provider/TD.pm App-TemplateServer-Provider-TD-0.01/lib/App/TemplateServer/Provider/TD.pm
--- App-TemplateServer-Provider-TD-0.01_orig/lib/App/TemplateServer/Provider/TD.pm 2014-01-24 21:12:28.470546900 -0500
+++ App-TemplateServer-Provider-TD-0.01/lib/App/TemplateServer/Provider/TD.pm 2014-01-24 21:13:04.802547376 -0500
@@ -2,7 +2,7 @@
use Moose;
use Method::Signatures;
use Template::Declare;
-use Class::MOP;
+use Class::Load;
require Module::Pluggable::Object;
our $VERSION = '0.01';
@@ -15,7 +15,7 @@
for my $template_root (@roots){
# first class not always loadable; it depends
- eval { Class::MOP::load_class($template_root) };
+ eval { Class::Load::load_class($template_root) };
my $mpo = Module::Pluggable::Object->new(
require => 0,
search_path => $template_root,
@@ -23,7 +23,7 @@
my @extras = $mpo->plugins;
foreach my $extra (@extras) {
# load module
- Class::MOP::load_class($extra);
+ Class::Load::load_class($extra);
}
push @more, @extras;
}
diff -Naur App-TemplateServer-Provider-TD-0.01_orig/Makefile.PL App-TemplateServer-Provider-TD-0.01/Makefile.PL
--- App-TemplateServer-Provider-TD-0.01_orig/Makefile.PL 2014-01-24 21:12:28.470546900 -0500
+++ App-TemplateServer-Provider-TD-0.01/Makefile.PL 2014-01-24 21:13:20.218547577 -0500
@@ -4,7 +4,7 @@
all_from 'lib/App/TemplateServer/Provider/TD.pm';
requires 'App::TemplateServer' => '0.02';
-requires 'Class::MOP';
+requires 'Class::Load' => '0.20';
requires 'Method::Signatures';
requires 'Module::Pluggable::Object';
requires 'Moose';
diff -Naur App-TemplateServer-Provider-TD-0.01_orig/META.yml App-TemplateServer-Provider-TD-0.01/META.yml
--- App-TemplateServer-Provider-TD-0.01_orig/META.yml 2014-01-24 21:12:28.470546900 -0500
+++ App-TemplateServer-Provider-TD-0.01/META.yml 2014-01-24 21:13:27.002547667 -0500
@@ -17,7 +17,7 @@
- t
requires:
App::TemplateServer: 0.02
- Class::MOP: 0
+ Class::Load: 0.20
Method::Signatures: 0
Module::Pluggable::Object: 0
Moose: 0