no deprecation warning for Lsection

2011-04-27 Thread Karl Williamson

I was reading podspec, and saw this

 Previous versions of perlpod allowed for a Lsection syntax (as in 
LObject Attributes), which was not easily distinguishable from 
Lname syntax and for Lsection which was only slightly less 
ambiguous.  This syntax is no longer in the specification, and has been 
replaced by the L/section syntax (where the slash was formerly 
optional).  Pod parsers should tolerate the Lsection syntax, for a 
while at least.  The suggested heuristic for distinguishing Lsection 
from Lname is that if it contains any whitespace, it's a section. 
Pod processors should warn about this being deprecated syntax.


I notice that perldoc does not warn on this being deprecated.  Is this 
by design?


Re: Lack of html anchor for =item * foo

2011-04-27 Thread Karl Williamson

On 04/26/2011 11:02 AM, David E. Wheeler wrote:


FWIW, Pod::Simple::XHTML doesn't output an ID fordts, either.

The Perl core docs have roughly 700 links to dts.  For example, 
perlfunc uses =item's for all its functions.


Re: Lack of html anchor for =item * foo

2011-04-27 Thread David E. Wheeler
On Apr 27, 2011, at 10:59 AM, Karl Williamson wrote:

 FWIW, Pod::Simple::XHTML doesn't output an ID fordts, either.
 
 The Perl core docs have roughly 700 links to dts.  For example, perlfunc 
 uses =item's for all its functions.

It'd be straight-forward to add it to the XHML output if someone wanted to hack 
it in. Maybe turn it on or off via an attribute. Probably should at least be 
submitted as a ticket to bug-pod-sim...@rt.cpan.org.

Best,

David