Attached patch fixes the issue.
--
Cheers,
ZZ [
https://metacpan.org/author/ZOFFIX ]
diff -Naur Bot-Jabbot-0.41_orig/lib/Bot/Jabbot.pm Bot-Jabbot-0.41/lib/Bot/Jabbot.pm
--- Bot-Jabbot-0.41_orig/lib/Bot/Jabbot.pm 2014-01-24 22:55:07.994627604 -0500
+++ Bot-Jabbot-0.41/lib/Bot/Jabbot.pm 2014-01-24 22:55:34.474627950 -0500
@@ -36,7 +36,7 @@
use Encode qw(decode_utf8);
use Config::Any::YAML;
use Data::Dumper;
-use Class::MOP;
+use Class::Load;
use Data::Localize;
our $VERSION = 0.41;
@@ -74,7 +74,7 @@
while (my ($name,$mod)=each(%{$self->{config}->{modules}}))
{
print "loading $mod \n";
- Class::MOP::load_class($mod);
+ Class::Load::load_class($mod);
$self->{modules}->{$name}=$mod->new($self->{config}->{lang} || "en");
}
my $calldir = $class;
@@ -352,7 +352,7 @@
=item AnyEvent::XMPP
-=item Class::MOP
+=item Class::Load
=item Config::Any
diff -Naur Bot-Jabbot-0.41_orig/Makefile.PL Bot-Jabbot-0.41/Makefile.PL
--- Bot-Jabbot-0.41_orig/Makefile.PL 2014-01-24 22:55:07.994627604 -0500
+++ Bot-Jabbot-0.41/Makefile.PL 2014-01-24 22:55:46.790628111 -0500
@@ -10,7 +10,7 @@
'PREREQ_PM' => {
'AnyEvent' => '5.202',
'AnyEvent::XMPP' => '0.51',
- 'Class::MOP' => 0,
+ 'Class::Load' => '0.20',
'Encode' => 0,
'Config::Any' => 0,
'Data::Localize' => ' 0.00010',
diff -Naur Bot-Jabbot-0.41_orig/META.yml Bot-Jabbot-0.41/META.yml
--- Bot-Jabbot-0.41_orig/META.yml 2014-01-24 22:55:07.994627604 -0500
+++ Bot-Jabbot-0.41/META.yml 2014-01-24 22:56:00.190628288 -0500
@@ -7,7 +7,7 @@
requires:
AnyEvent: 5.202
AnyEvent::XMPP: 0.51
- Class::MOP: 0
+ Class::Load: 0.20
Config::Any: 0
Data::Localize: 0.00010
Encode: 0