summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-05-04 13:05:03 -0600
committerKarl Williamson <khw@cpan.org>2022-05-04 13:07:23 -0600
commitdbe78c43112c836536f21897486e6f73bf711de6 (patch)
tree9da0d63d9cddc6d7f13488d299038e026e879ada
parent4bfd0c50d93ebe32766b1c243b9e26843bd7e2de (diff)
downloadperl-dbe78c43112c836536f21897486e6f73bf711de6.tar.gz
todo.pod: Use m// instead of //
This makes it slightly easier for readers to understand, and a lot easier for podcheck.t to understand
-rw-r--r--Porting/todo.pod4
-rw-r--r--t/porting/known_pod_issues.dat1
2 files changed, 2 insertions, 3 deletions
diff --git a/Porting/todo.pod b/Porting/todo.pod
index 688a13bd63..8733164298 100644
--- a/Porting/todo.pod
+++ b/Porting/todo.pod
@@ -996,9 +996,9 @@ demonstrated.
=head2 C</w> regex modifier
That flag would enable to match whole words, and also to interpolate
-arrays as alternations. With it, C</P/w> would be roughly equivalent to:
+arrays as alternations. With it, C<m/P/w> would be roughly equivalent to:
- do { local $"='|'; /\b(?:P)\b/ }
+ do { local $"='|'; m/\b(?:P)\b/ }
See
L<http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2007-01/msg00400.html>
diff --git a/t/porting/known_pod_issues.dat b/t/porting/known_pod_issues.dat
index dc39ee80df..3d1a77a82a 100644
--- a/t/porting/known_pod_issues.dat
+++ b/t/porting/known_pod_issues.dat
@@ -412,6 +412,5 @@ pod/perlwin32.pod Verbatim line length including indents exceeds 78 by 1
porting/bisect-runner.pl Verbatim line length including indents exceeds 78 by 1
porting/epigraphs.pod Verbatim line length including indents exceeds 78 by -1
porting/release_managers_guide.pod Verbatim line length including indents exceeds 78 by 2
-porting/todo.pod ? Should you be using F<...> or maybe L<...> instead of 1
lib/benchmark.pm Verbatim line length including indents exceeds 78 by 2
lib/config.pod ? Should you be using L<...> instead of -1