projects
/
gitmo/MooseX-Singleton.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Singleton objects were not singletons when made immutable. We need to
[gitmo/MooseX-Singleton.git]
/
lib
/
MooseX
/
Singleton
/
Meta
/
Instance.pm
diff --git
a/lib/MooseX/Singleton/Meta/Instance.pm
b/lib/MooseX/Singleton/Meta/Instance.pm
index
ad01ccc
..
c6a0a3c
100644
(file)
--- a/
lib/MooseX/Singleton/Meta/Instance.pm
+++ b/
lib/MooseX/Singleton/Meta/Instance.pm
@@
-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__