On Thu Mar 22 09:52:27 2012, DOLMEN wrote:
Show quoted text> Trailing spaces are the only way to put an empty line inside a verbatim
> block. A pure empty line (/^$/) would instead split the paragraph in two
> paragrahs. That is not visible when viewing in text mode, but it is in
> Pod::Html output.
>
> Test case:
>
> =head1 SYNOPSIS
>
> foo
>
> bar
>
> =cut
>
My instinct here would be to blame Pod::Html. You can not expect
trailing whitespace to be preserved anyway - there is a multitude of
editors (komodo being one of them) which will unconditionally strip any
trailing whitespace anyway. Furthermore all my dists are trailing-space
free and I have never noticed breakage of "code blocks". For example:
https://metacpan.org/module/DBIx::Class#SYNOPSIS
I will mark this ticket as rejected, feel free to reopen it if you have
more comments on the issue.
Cheers