diff options
author | Karl Williamson <khw@cpan.org> | 2022-05-04 13:05:03 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-05-04 13:07:23 -0600 |
commit | dbe78c43112c836536f21897486e6f73bf711de6 (patch) | |
tree | 9da0d63d9cddc6d7f13488d299038e026e879ada /Porting/todo.pod | |
parent | 4bfd0c50d93ebe32766b1c243b9e26843bd7e2de (diff) | |
download | perl-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
Diffstat (limited to 'Porting/todo.pod')
-rw-r--r-- | Porting/todo.pod | 4 |
1 files changed, 2 insertions, 2 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> |