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

index 214eb4f..c18022a 100644 (file)
@@ -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} }