projects
/
scpubgit/DX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
e1bcd73
)
perl 5.22 was kind enough to point out I'm an idiot
Matt S Trout [Thu, 17 Mar 2016 17:39:44 +0000 (17:39 +0000)]
lib/DX/Scope.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/DX/Scope.pm
b/lib/DX/Scope.pm
index
214eb4f
..
c18022a
100644
(file)
--- a/
lib/DX/Scope.pm
+++ b/
lib/DX/Scope.pm
@@
-28,7
+28,7
@@
sub lookup {
return $targ;
}
return $self->globals->get_member_at($symbol)
- or die "No such name in scope: $symbol";
+ || die "No such name in scope: $symbol";
}
sub depth { $#{$_[0]->locals} }