projects
/
p5sagit/Eval-WithLexicals.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
d908713
)
Clarify what and wherefore
David Leadbeater [Tue, 11 Jan 2011 22:19:27 +0000 (22:19 +0000)]
lib/Eval/WithLexicals.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Eval/WithLexicals.pm
b/lib/Eval/WithLexicals.pm
index
95194a8
..
e4f7587
100644
(file)
--- a/
lib/Eval/WithLexicals.pm
+++ b/
lib/Eval/WithLexicals.pm
@@
-54,6
+54,7
@@
sub eval {
my $package = $self->in_package;
my $setup_code = join '', $self->setup_code,
+ # $_[2] being what is passed to _eval_do below
Sub::Quote::capture_unroll('$_[2]', $self->lexicals, 2);
my $capture_code = join '', $self->capture_code;