]> git.vpit.fr Git - perl/modules/re-engine-Plugin.git/commitdiff
Silence an experimental warning by getting rid of a lexical $_
authorVincent Pit <vince@profvince.com>
Wed, 1 Oct 2014 19:26:00 +0000 (21:26 +0200)
committerVincent Pit <vince@profvince.com>
Wed, 1 Oct 2014 19:26:00 +0000 (21:26 +0200)
t/20-methods/mod.t

index 92087f35a3af99f8a3d7dad06171524a1c890a90..86fee96aa5e598bdc8efd9c59e21f132b868f3aa 100644 (file)
@@ -5,7 +5,6 @@ Test the C<mod> or C<modifiers> 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;