I'm trying to write a long link in POD syntax that needs (or at least is supposed) to be broken among multiple lines. Doing so, I noticed that perlpod seems to generally replace newlines with space characters (sometimes even multiple ones).
Example:
Refer to the L<foobar section in the Module::Really::Really::Really::Very::Very::Long documentation| Module::Really::Really::Really::Very::Very::Long/foobar>.
Now, the problem with that formatting is that, e.g., pod2html will error out because it cannot generate a reference to " Module::Really::Really::Really::Very::Very::Long" (mind the preceding whitespace).
I know that this problem can be worked around (mostly) by reformatting it so that the separator is not followed by a newline, but that's not a good general solution (and could be made moot by using an ever longer module name that exceeds the line limit and hence needs to be split up anyway).
Another instantiation of this issue can be seen here:
This is a sentence. It's ending here, but the paragraph continues. This is another sentence.
When rendering this with pod2man, it will generate one space character between sentence. and It's, but two(!) space characters between continues. and This. I don't want this to happen. Some people might argue that using a double space character after a punctuation character is sane and actually the way to go, but the argument is pretty much made moot by the introduced inconsistency - the pod2man generator doesn't handle "normal" textual punctuation characters in the same way, so you're ending up with a pretty wild mess.
Is there any way to actually escape newlines such that perlpod does not generate space characters instead? I've tried playing around with the usual methods, but so far couldn't find any.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |