From 0dab6d38d596535a09af16a4feba57358ca67849 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 7 Jul 2011 02:51:45 -0500 Subject: make this actually lexical --- t/core.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't') diff --git a/t/core.t b/t/core.t index 81b2ac7..69c0942 100644 --- a/t/core.t +++ b/t/core.t @@ -86,10 +86,10 @@ while () { test_again: my $res; if ($note =~ /NOWARNINGS/) { - $res = eval "use smartmatch 'core'; no warnings; $tstr"; + $res = eval "no warnings; $tstr"; } else { - $res = eval "use smartmatch 'core'; $tstr"; + $res = eval $tstr; } chomp $@; -- cgit v1.2.3