From: Vincent Pit Date: Thu, 6 Jan 2011 01:00:44 +0000 (+0100) Subject: Silence a deprecation warning in recent perls X-Git-Tag: v0.09~19 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Fre-engine-Plugin.git;a=commitdiff_plain;h=c5a20a7156d3f3801e68f8962e5e026c3ddf0bc6 Silence a deprecation warning in recent perls ?...? has been deprecated, but m?...? is still ok. --- diff --git a/t/20-methods/mod.t b/t/20-methods/mod.t index 426182d..92087f3 100644 --- a/t/20-methods/mod.t +++ b/t/20-methods/mod.t @@ -73,4 +73,4 @@ my $_ = ""; $_ =~ s/1/2/e; $_ =~ s/1/2/egimosxp; -$_ =~ ??; +$_ =~ m??;