diff options
author | Ricardo Signes <rjbs@cpan.org> | 2009-12-07 18:21:44 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgs@consttype.org> | 2009-12-08 10:59:48 +0100 |
commit | b41aadf259cf55858c5ab0386356cdbe2dc49a6b (patch) | |
tree | 2751aa67b30f31bb9a4da439e890d9077f35cbfc /pod/perlpodspec.pod | |
parent | f6e963e4dd62b8e3c01b31f4a4dd57e47e104997 (diff) | |
download | perl-b41aadf259cf55858c5ab0386356cdbe2dc49a6b.tar.gz |
more aggressively deprecate L<section> and L<"section">
Diffstat (limited to 'pod/perlpodspec.pod')
-rw-r--r-- | pod/perlpodspec.pod | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/pod/perlpodspec.pod b/pod/perlpodspec.pod index 537f29ad70..761b1bbea6 100644 --- a/pod/perlpodspec.pod +++ b/pod/perlpodspec.pod @@ -1340,15 +1340,16 @@ given C<LE<lt>fooE<gt>> code. =item * -Previous versions of perlpod allowed for a C<LE<lt>sectionE<gt>> syntax -(as in C<LE<lt>Object AttributesE<gt>>), which was not easily distinguishable -from C<LE<lt>nameE<gt>> syntax. This syntax is no longer in the -specification, and has been replaced by the C<LE<lt>"section"E<gt>> syntax -(where the quotes were formerly optional). Pod parsers should tolerate -the C<LE<lt>sectionE<gt>> syntax, for a while at least. The suggested -heuristic for distinguishing C<LE<lt>sectionE<gt>> from C<LE<lt>nameE<gt>> -is that if it contains any whitespace, it's a I<section>. Pod processors -may warn about this being deprecated syntax. +Previous versions of perlpod allowed for a C<LE<lt>sectionE<gt>> syntax (as in +C<LE<lt>Object AttributesE<gt>>), which was not easily distinguishable from +C<LE<lt>nameE<gt>> syntax and for C<LE<lt>"section"E<gt>> which was only +slightly less ambiguous. This syntax is no longer in the specification, and +has been replaced by the C<LE<lt>/sectionE<gt>> syntax (where the slash was +formerly optional). Pod parsers should tolerate the C<LE<lt>"section"E<gt>> +syntax, for a while at least. The suggested heuristic for distinguishing +C<LE<lt>sectionE<gt>> from C<LE<lt>nameE<gt>> is that if it contains any +whitespace, it's a I<section>. Pod processors should warn about this being +deprecated syntax. =back |