From: Gurusamy Sarathy Date: Sat, 20 Jun 1998 23:59:23 +0000 (+0000) Subject: enhance perlre.pod to say C<)> can't appear in a (?#...) comment X-Git-Tag: accepted/trunk/20130322.191538~37622 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=259138e397d1f0bd33f1552ed5c3bc5589267e87;p=platform%2Fupstream%2Fperl.git enhance perlre.pod to say C<)> can't appear in a (?#...) comment p4raw-id: //depot/perl@1166 --- diff --git a/pod/perlre.pod b/pod/perlre.pod index 927d088..89bfb8d 100644 --- a/pod/perlre.pod +++ b/pod/perlre.pod @@ -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 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)>