Add tests for undef smart-matching
Rafael Garcia-Suarez [Fri, 13 Feb 2009 20:57:41 +0000 (21:57 +0100)]
t/op/smartmatch.t

index 1ef56c1..86ea187 100644 (file)
@@ -268,3 +268,5 @@ __DATA__
 !      !1              undef
 !      \&foo           undef
 !      sub { }         undef
+       undef           undef
+       $::undef        undef