From f1bef09e9115ebdc1c8818193d6c4cbb8bc050e6 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Tue, 5 May 2009 09:55:27 +0200 Subject: Add tests for @array ~~ $string --- t/op/smartmatch.t | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.1