Singleton objects were not singletons when made immutable. We need to
[gitmo/MooseX-Singleton.git] / lib / MooseX / Singleton / Meta / Instance.pm
index ad01ccc..c6a0a3c 100644 (file)
@@ -54,6 +54,8 @@ sub inline_slot_access {
     sprintf "%s->meta->instance_metaclass->get_singleton_instance(%s)->{%s}", $instance, $instance, $slot_name;
 }
 
+no Moose;
+
 1;
 
 __END__