diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-06-20 23:59:23 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-06-20 23:59:23 +0000 |
commit | 259138e397d1f0bd33f1552ed5c3bc5589267e87 (patch) | |
tree | 9057efa2ad1878e423953f6943af14a44da8bc69 /pod/perlre.pod | |
parent | 800e9ae0504a9c74de77c7ab0037cc96b5df4995 (diff) | |
download | perl-259138e397d1f0bd33f1552ed5c3bc5589267e87.tar.gz |
enhance perlre.pod to say C<)> can't appear in a (?#...) comment
p4raw-id: //depot/perl@1166
Diffstat (limited to 'pod/perlre.pod')
-rw-r--r-- | pod/perlre.pod | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pod/perlre.pod b/pod/perlre.pod index 927d088edb..89bfb8dcba 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</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)> |