projects
/
gitmo/Class-MOP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
021c8e3
)
Add an explicit return
Dave Rolsky [Sun, 21 Jun 2009 20:10:04 +0000 (15:10 -0500)]
lib/Class/MOP/Method/Generated.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Class/MOP/Method/Generated.pm
b/lib/Class/MOP/Method/Generated.pm
index
9275173
..
20d2c2a
100644
(file)
--- a/
lib/Class/MOP/Method/Generated.pm
+++ b/
lib/Class/MOP/Method/Generated.pm
@@
-84,7
+84,7
@@
sub _compile_code {
my $code = $self->_add_line_directive(%args);
- $self->_eval_closure($args{environment}, $code);
+ return $self->_eval_closure($args{environment}, $code);
}
1;