enhance perlre.pod to say C<)> can't appear in a (?#...) comment
authorGurusamy Sarathy <gsar@cpan.org>
Sat, 20 Jun 1998 23:59:23 +0000 (23:59 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Sat, 20 Jun 1998 23:59:23 +0000 (23:59 +0000)
p4raw-id: //depot/perl@1166

pod/perlre.pod

index 927d088..89bfb8d 100644 (file)
@@ -270,7 +270,9 @@ function of the extension.  Several extensions are already supported:
 =item C<(?#text)>
 
 A comment.  The text is ignored.  If the C</x> switch is used to enable
-whitespace formatting, a simple C<#> will suffice.
+whitespace formatting, a simple C<#> will suffice.  Note that perl closes
+the comment as soon as it sees a C<)>, so there is no way to put a literal
+C<)> in the comment.
 
 =item C<(?:pattern)>