projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
329802b
)
Add tests for @array ~~ $string
Rafael Garcia-Suarez [Tue, 5 May 2009 07:55:27 +0000 (09:55 +0200)]
t/op/smartmatch.t
patch
|
blob
|
blame
|
history
diff --git
a/t/op/smartmatch.t
b/t/op/smartmatch.t
index
b2a213e
..
cf819be
100644
(file)
--- a/
t/op/smartmatch.t
+++ b/
t/op/smartmatch.t
@@
-306,6
+306,10
@@
__DATA__
12345 qr/3/
! 12345 qr/7/
+# array against string
+ @fooormore "@fooormore"
+! @keyandmore "@fooormore"
+
# Test the implicit referencing
7 @nums
@nums \@nums