diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-05-05 09:55:27 +0200 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2009-05-05 09:55:27 +0200 |
commit | f1bef09e9115ebdc1c8818193d6c4cbb8bc050e6 (patch) | |
tree | 72bf0d1a6f56b804e48f0083155d162bb9a00ba9 /t/op/smartmatch.t | |
parent | 329802ba974fc09df2d12cae487624062c657883 (diff) | |
download | perl-f1bef09e9115ebdc1c8818193d6c4cbb8bc050e6.tar.gz |
Add tests for @array ~~ $string
Diffstat (limited to 't/op/smartmatch.t')
-rw-r--r-- | t/op/smartmatch.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/op/smartmatch.t b/t/op/smartmatch.t index b2a213ec35..cf819bea14 100644 --- 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 |