]> git.vpit.fr Git - perl/modules/re-engine-Plugin.git/blobdiff - t/20-methods/mod.t
Silence an experimental warning by getting rid of a lexical $_
[perl/modules/re-engine-Plugin.git] / 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;