projects
/
gitmo/MooseX-Singleton.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fixes to work with latest Moose.
[gitmo/MooseX-Singleton.git]
/
lib
/
MooseX
/
Singleton
/
Meta
/
Method
/
Constructor.pm
diff --git
a/lib/MooseX/Singleton/Meta/Method/Constructor.pm
b/lib/MooseX/Singleton/Meta/Method/Constructor.pm
index
b3ec6a8
..
520483a
100644
(file)
--- a/
lib/MooseX/Singleton/Meta/Method/Constructor.pm
+++ b/
lib/MooseX/Singleton/Meta/Method/Constructor.pm
@@
-39,6
+39,8
@@
sub initialize_body {
my $code;
{
+ my $meta = $self;
+
# NOTE:
# create the nessecary lexicals
# to be picked up in the eval