in reply to Re^2: Special formatting in pod
in thread Special formatting in pod

Howdy!

Simply indent the lines. That indicates that these are verbatim, thus preserving line breaks. I think that even a single space is sufficient.

yours,
Michael

Replies are listed 'Best First'.
Re^4: Special formatting in pod
by shmem (Chancellor) on Mar 26, 2007 at 13:45 UTC
    That doesen't really help if you want those lines to be folded by the formatter as normal lines, while preserving the line break at the line end, without having the remaining line space filled up with the next line.

    Verbatim lines are output as they are irrespective of their length, so it's the pager that folds them (in the case of manual pages) or they don't get folded at all and thus produce a horizontal scrollbar in the browser (in the case of html).

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}