hi all,

Ordinary paragraphs must start at left margin, but my editor (emacs)
auto-indents and autowraps text (which I like, and find more readable)

I would like pod to respect my editors defaults,
and regard those paragraphs (with a particular indent) as ordinary
(and therefore autowrapped)

IOW, something like this:

=for :podsrc ordinary-base=4

=head1 SYNOPSIS

  This is an ordinary paragraph, since it has an indent of 4

    THis is still verbatim, since its indented 6 spaces on 1st line.
  this line is indent 4, but is in same paragraph as above line,
  so its verbatim too.

   But 6 spaces could also be construed as 4+2 spaces,
   ie 2 more than baseline.  This interpretation means that verbatim
   paragrapsh could never be indented 4 more that ordinary.

 not sure what out-dented paragraphs should do,
tho Id be happy with how theyre done currently,
- ie indented by 2 columns wrt ordinary paragraph

=cut


So, is this counter to the spirit of perlpodspec ? Or is this kind of scoping precisely what =for is for, (in contrast to =begin and =end , which seem to give explicit bounds to the scope of such formatting hints.)

I hope this is clear enough, more words seems as likely to
reduce clarity rather than help.

tia,
Jim Cromie

Reply via email to