]> 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 426182d74742f65ad6fcc757a2c1eff0a6806cb5..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,8 +68,8 @@ use re::engine::Plugin (
 "" =~ /x/xs;
 "" =~ /x/cgimosxp;
 
-my $_ = "";
+local $_ = "";
 
 $_ =~ s/1/2/e;
 $_ =~ s/1/2/egimosxp;
-$_ =~ ??;
+$_ =~ m??;