projects
/
dbsrgits/Data-Query.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e3714aa
)
provide $_ in scan_dq_nodes
Matt S Trout [Fri, 15 Nov 2013 19:02:51 +0000 (19:02 +0000)]
lib/Data/Query/ExprHelpers.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Data/Query/ExprHelpers.pm
b/lib/Data/Query/ExprHelpers.pm
index
a48f687
..
d95fc85
100644
(file)
--- a/
lib/Data/Query/ExprHelpers.pm
+++ b/
lib/Data/Query/ExprHelpers.pm
@@
-132,6
+132,7
@@
sub scan_dq_nodes {
my ($cb_map, @queue) = @_;
while (my $node = shift @queue) {
if ($node->{type} and my $cb = $cb_map->{$node->{type}}) {
+ local $_ = $node;
$cb->($node);
}
push @queue,