From: Vincent Pit Date: Wed, 1 Oct 2014 19:26:00 +0000 (+0200) Subject: Silence an experimental warning by getting rid of a lexical $_ X-Git-Tag: rt92118~2 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fre-engine-Plugin.git;a=commitdiff_plain;h=643556eaf09b5c71852f86f979c37bdd4e2046d4 Silence an experimental warning by getting rid of a lexical $_ --- diff --git a/t/20-methods/mod.t b/t/20-methods/mod.t index 92087f3..86fee96 100644 --- a/t/20-methods/mod.t +++ b/t/20-methods/mod.t @@ -5,7 +5,6 @@ Test the C or C method =cut use strict; -use feature ':5.10'; use Test::More tests => 25; my @tests = ( @@ -69,7 +68,7 @@ use re::engine::Plugin ( "" =~ /x/xs; "" =~ /x/cgimosxp; -my $_ = ""; +local $_ = ""; $_ =~ s/1/2/e; $_ =~ s/1/2/egimosxp;