From 97f2298de0da9ec8c03c9e8215cfcd83439768a3 Mon Sep 17 00:00:00 2001 From: doy Date: Mon, 2 Feb 2009 00:08:24 -0500 Subject: fix a warning in the tests, now that all coderef matches are actually being called --- t/004-submatching.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/004-submatching.t b/t/004-submatching.t index 3eb2b96..e9f2d22 100644 --- a/t/004-submatching.t +++ b/t/004-submatching.t @@ -99,7 +99,7 @@ package main; a => 4, }, baz => { - d => sub { length == 4 }, + d => sub { defined && length == 4 }, a => { b => 5, c => qr/\d/, -- cgit v1.2.3-54-g00ecf