Re: pod2html in perl-5.15.9 recognizes POD markup in verbatim sections

[email protected] (Russ Allbery)
Newsgroups perl.pod-people
Organization The Eyrie
Message-ID <[email protected]>
Shawn H Corey <[email protected]> writes:
> On 12-04-25 11:22 AM, Russ Allbery wrote:

>> I think a better approach would have been to add a new command
>> (=formatted or something) that had these semantics rather than changing
>> the interpretation of existing verbatim paragraphs.

> It would be better if it used the =begin/=for/=end syntax:

> =begin verbatim

> ...

> =end verbatim

> =for verbatim
> ...

Hm, yes, that would work much better.  And POD::Simple could hide the
implementation of that rather easily; I bet you could make that work with
only a few modifications required to the formatters.

-- 
Russ Allbery ([email protected])             <http://www.eyrie.org/~eagle/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.