projects
/
perl
/
modules
/
re-engine-Plugin.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
92cf101
)
Silence a deprecation warning in recent perls
author
Vincent Pit <vince@profvince.com>
Thu, 6 Jan 2011 01:00:44 +0000 (
02:00
+0100)
committer
Vincent 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
patch
|
blob
|
history
diff --git
a/t/20-methods/mod.t
b/t/20-methods/mod.t
index 426182d74742f65ad6fcc757a2c1eff0a6806cb5..92087f35a3af99f8a3d7dad06171524a1c890a90 100644
(file)
--- 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
??;