projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
fe853e2
)
move _set inside the block where it matters
Hans Dieter Pearcey [Thu, 25 Jun 2009 23:08:33 +0000 (19:08 -0400)]
lib/Moose/AttributeHelpers/Trait/Counter.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/AttributeHelpers/Trait/Counter.pm
b/lib/Moose/AttributeHelpers/Trait/Counter.pm
index
32dfbf9
..
e56189e
100644
(file)
--- a/
lib/Moose/AttributeHelpers/Trait/Counter.pm
+++ b/
lib/Moose/AttributeHelpers/Trait/Counter.pm
@@
-42,9
+42,9
@@
after 'check_handles_values' => sub {
foreach my $method (keys %$method_constructors) {
$handles->{$method . '_' . $attr_name} = $method;
}
- }
- $self->_set_handles($handles);
+ $self->_set_handles($handles);
+ }
};
no Moose::Role;