X-Git-Url: http://git.vpit.fr/?a=blobdiff_plain;f=t%2F20-methods%2Fmod.t;h=86fee96aa5e598bdc8efd9c59e21f132b868f3aa;hb=refs%2Ftags%2Fv0.11;hp=426182d74742f65ad6fcc757a2c1eff0a6806cb5;hpb=386630c145754930ffc3a3b0988dd0108f4394db;p=perl%2Fmodules%2Fre-engine-Plugin.git diff --git a/t/20-methods/mod.t b/t/20-methods/mod.t index 426182d..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,8 +68,8 @@ use re::engine::Plugin ( "" =~ /x/xs; "" =~ /x/cgimosxp; -my $_ = ""; +local $_ = ""; $_ =~ s/1/2/e; $_ =~ s/1/2/egimosxp; -$_ =~ ??; +$_ =~ m??;