Subject: | Class::MOP->load_class causes an error in Moose 2.0400 |
This never actually did anything, but now it causes an error. Patch below:
diff -ru MooseX-AbstractFactory-0.3.2/lib/MooseX/AbstractFactory/Role.pm
MooseX-AbstractFactory-0.3.2.new/lib/MooseX/AbstractFactory/Role.pm
--- MooseX-AbstractFactory-0.3.2/lib/MooseX/AbstractFactory/Role.pm
2009-07-20 08:35:52.000000000 -0500
+++ MooseX-AbstractFactory-0.3.2.new/lib/MooseX/AbstractFactory/Role.pm
2011-09-12 15:08:45.775974629 -0500
@@ -52,7 +52,7 @@
eval {
# can we load the class?
- Class::MOP->load_class($iclass); # may die if user really
stuffed up _get_implementation_class()
+ Class::MOP::load_class($iclass); # may die if user really
stuffed up _get_implementation_class()
if ($self->meta->has_implementation_roles) {
my $roles = $self->meta->implementation_roles();