projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
(?p{}) has been deprecated for a long time.
[p5sagit/p5-mst-13.2.git]
/
t
/
lib
/
warnings
/
toke
diff --git
a/t/lib/warnings/toke
b/t/lib/warnings/toke
index
e4fa82c
..
af27047
100644
(file)
--- a/
t/lib/warnings/toke
+++ b/
t/lib/warnings/toke
@@
-588,6
+588,11
@@
Warning: Use of "rand" without parentheses is ambiguous at - line 8.
Warning: Use of "rand" without parentheses is ambiguous at - line 10.
########
# toke.c
+use warnings "ambiguous";
+print for keys %+; # should not warn
+EXPECT
+########
+# toke.c
sub fred {};
-fred ;
EXPECT