I think Pod::Simple is pretty complex […] I'm not sure if changes like that are easy to implement and test, especially given the huge amount of POD out in the wild.
Well, I don't care about old documents anyway!
Jokes aside, I took the time and created a new bug report for this. In there, I tried to verbosely explain the problem, the unsatisfactory workarounds that aren't really working universally anyway, and, crucially, ask for new formatter code called M<> to be introduced, that just eats any data/text passed to it. It could also be called H<> for "hide", but these are just specifics. I believe that this is a good option for several reasons:

Yes, I agree, and if you don't mind formatting your POD in a *roff-friendly way […] then that's probably the best solution.
But if you don't mind doing this, then the nice thing about it is your docs will look consistent no matter if read via man, perldoc, or HTML.
I did that for the documentation I've written yesterday and it really hasn't been a big deal. Now, all generated documentation is consistent. man pages have two spaces after each sentence, all the other formats just show up normally. Pretty nice.
I should probably change the perldoc/perldocspec documentation to add this as a recommendation. That won't help "other" people/older documentation to be more consistent, unless they re-read the changed parts, but at least new developers/documentation could benefit.

Personally, I wouldn't put in the effort to do this, because I don't use man to read Perl docs, I always use perldoc, which doesn't do the double space after sentences.
To be honest, I avoid the perldoc command like the plague. So far, whenever I tried it, it just generated plain text, broken at 80 chars per line, with control characters replaced by plain ASCII characters like * and _.
There seem to be multiple weirdnesses: I guess I'll just stick to man itself. :)

[…] but you could also access the XML version via the link at the top of the page under the title to get to the original markup.
D'oh, thanks. I tried doing so, but used the XML link while writing the reply, which naturally gave me a pretty empty doctext entry. I should have used it on the parent's node page …


In reply to Re^4: Escape newlines in POD / (Selectively) don't generate space characters instead by Ionic
in thread Escape newlines in POD / (Selectively) don't generate space characters instead by Ionic

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.