[Moose-commits] r7969 -
MooseX-AbstractFactory/trunk/lib/MooseX/AbstractFactory
autarch at code2.0beta.co.uk
autarch at code2.0beta.co.uk
Sat Sep 12 22:19:01 GMT 2009
Author: autarch
Date: 2009-09-12 15:19:00 -0700 (Sat, 12 Sep 2009)
New Revision: 7969
Modified:
MooseX-AbstractFactory/trunk/lib/MooseX/AbstractFactory/Role.pm
Log:
load_class is a function, not a method
Modified: MooseX-AbstractFactory/trunk/lib/MooseX/AbstractFactory/Role.pm
===================================================================
--- MooseX-AbstractFactory/trunk/lib/MooseX/AbstractFactory/Role.pm 2009-07-09 06:56:58 UTC (rev 7968)
+++ MooseX-AbstractFactory/trunk/lib/MooseX/AbstractFactory/Role.pm 2009-09-12 22:19:00 UTC (rev 7969)
@@ -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();
More information about the Moose-commits
mailing list