note
LanX
POD
I dont fully understand your description (an example would be fine)... but<P>
<i> > I had some spaces on the line before the =head1 in question.</i><P>
please be aware that POD cares about indentation to distinguish paragraphs, in other words only completely empty lines separate them.<P>
Thats especially helpful when having code-blocks with empty lines<P>
<c>
print 1;
print 3;
</c><P>
since the second line is not empty this code belongs to one code paragraph!<P>
BTW: The default setting of cperl-mode is very helpful, it shows trailing spaces as "_" in emacs. (I've set it up to be a whitespace again, but with grey background color, to avoid confusion with underscore)<P>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-708738">
<p>Cheers Rolf
</div></div><P>
UPDATE:<P>
<blockquote><tt>Some older Pod translators require paragraphs (including command paragraphs like "=head2 Functions") to be separated by completely empty lines. If you have an apparently empty line with some spaces on it, this might not count as a separator for those translators, and that could cause odd formatting.</tt></blockquote><P>
Simply searching [doc://perlpod#Embedding-Pods-in-Perl-Modules|perlpod] for the word "empty" will show you more detailed information and should answer your questions.
904787
904787