From b41aadf259cf55858c5ab0386356cdbe2dc49a6b Mon Sep 17 00:00:00 2001 From: Ricardo Signes Date: Mon, 7 Dec 2009 18:21:44 -0500 Subject: [PATCH] more aggressively deprecate L
and L<"section"> --- pod/perlpod.pod | 2 +- pod/perlpodspec.pod | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/pod/perlpod.pod b/pod/perlpod.pod index 5e2121d..55ea57e 100644 --- a/pod/perlpod.pod +++ b/pod/perlpod.pod @@ -395,7 +395,7 @@ Cperlsyn/"For Loops"E> =item * -C/"sec"E> or C/secE> or C"sec"E> +C/"sec"E> or C/secE> Link to a section in this manual page. E.g., C/"Object Methods"E> diff --git a/pod/perlpodspec.pod b/pod/perlpodspec.pod index 537f29a..761b1bb 100644 --- a/pod/perlpodspec.pod +++ b/pod/perlpodspec.pod @@ -1340,15 +1340,16 @@ given CfooE> code. =item * -Previous versions of perlpod allowed for a CsectionE> syntax -(as in CObject AttributesE>), which was not easily distinguishable -from CnameE> syntax. This syntax is no longer in the -specification, and has been replaced by the C"section"E> syntax -(where the quotes were formerly optional). Pod parsers should tolerate -the CsectionE> syntax, for a while at least. The suggested -heuristic for distinguishing CsectionE> from CnameE> -is that if it contains any whitespace, it's a I
. Pod processors -may warn about this being deprecated syntax. +Previous versions of perlpod allowed for a CsectionE> syntax (as in +CObject AttributesE>), which was not easily distinguishable from +CnameE> syntax and for C"section"E> which was only +slightly less ambiguous. This syntax is no longer in the specification, and +has been replaced by the C/sectionE> syntax (where the slash was +formerly optional). Pod parsers should tolerate the C"section"E> +syntax, for a while at least. The suggested heuristic for distinguishing +CsectionE> from CnameE> is that if it contains any +whitespace, it's a I
. Pod processors should warn about this being +deprecated syntax. =back -- 2.7.4