projects
/
p5sagit/Eval-WithLexicals.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
context sensitivity
[p5sagit/Eval-WithLexicals.git]
/
t
/
simple.t
diff --git
a/t/simple.t
b/t/simple.t
index
e8157ba
..
667a89d
100644
(file)
--- a/
t/simple.t
+++ b/
t/simple.t
@@
-47,4
+47,8
@@
is_deeply(
'Sub created ok'
);
+$eval->context('scalar');
+
+is($eval->eval('$y->(2)'), '3', 'Scalar eval ok');
+
done_testing;