diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-07-07 02:51:45 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-07-07 02:51:45 -0500 |
commit | 0dab6d38d596535a09af16a4feba57358ca67849 (patch) | |
tree | 4bf86b089fbff872e305a26acd1fe7d609301746 /t | |
parent | 64e93875cecc7af2d630399eb30fdc2e2cbd27e6 (diff) | |
download | smartmatch-engine-rjbs-0dab6d38d596535a09af16a4feba57358ca67849.tar.gz smartmatch-engine-rjbs-0dab6d38d596535a09af16a4feba57358ca67849.zip |
make this actually lexical
Diffstat (limited to 't')
-rw-r--r-- | t/core.t | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -86,10 +86,10 @@ while (<DATA>) { 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 $@; |