projects
/
gitmo/Moose.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
215ee89
)
No semi on potential value
Dave Rolsky [Sun, 26 Sep 2010 16:11:23 +0000 (11:11 -0500)]
lib/Moose/Meta/Method/Accessor/Native/Bool/toggle.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Moose/Meta/Method/Accessor/Native/Bool/toggle.pm
b/lib/Moose/Meta/Method/Accessor/Native/Bool/toggle.pm
index
19d2836
..
b554523
100644
(file)
--- a/
lib/Moose/Meta/Method/Accessor/Native/Bool/toggle.pm
+++ b/
lib/Moose/Meta/Method/Accessor/Native/Bool/toggle.pm
@@
-15,7
+15,7
@@
sub _maximum_arguments { 0 }
sub _potential_value {
my ( $self, $slot_access ) = @_;
- return "$slot_access ? 0 : 1;";
+ return "$slot_access ? 0 : 1";
}
sub _inline_optimized_set_new_value {