]> git.vpit.fr Git - perl/modules/re-engine-Plugin.git/commitdiff
Silence a deprecation warning in recent perls
authorVincent Pit <vince@profvince.com>
Thu, 6 Jan 2011 01:00:44 +0000 (02:00 +0100)
committerVincent Pit <vince@profvince.com>
Thu, 6 Jan 2011 01:00:44 +0000 (02:00 +0100)
?...? has been deprecated, but m?...? is still ok.

t/20-methods/mod.t

index 426182d74742f65ad6fcc757a2c1eff0a6806cb5..92087f35a3af99f8a3d7dad06171524a1c890a90 100644 (file)
@@ -73,4 +73,4 @@ my $_ = "";
 
 $_ =~ s/1/2/e;
 $_ =~ s/1/2/egimosxp;
-$_ =~ ??;
+$_ =~ m??;