Change 29998 by [EMAIL PROTECTED] on 2007/01/26 10:55:50

        Mention //w in perltodo.

Affected files ...

... //depot/perl/pod/perltodo.pod#173 edit

Differences ...

==== //depot/perl/pod/perltodo.pod#173 (text) ====
Index: perl/pod/perltodo.pod
--- perl/pod/perltodo.pod#172~29786~    2007-01-13 09:17:40.000000000 -0800
+++ perl/pod/perltodo.pod       2007-01-26 02:55:50.000000000 -0800
@@ -575,6 +575,16 @@
 Allow to delete functions. One can already undef them, but they're still
 in the stash.
 
+=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:
+
+    do { local $"='|'; /\b(?:P)\b/ }
+
+See 
L<http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2007-01/msg00400.html>
+for the discussion.
+
 =head2 optional optimizer
 
 Make the peephole optimizer optional. Currently it performs two tasks as
End of Patch.

Reply via email to