develooper Front page | perl.pod-people | Postings from April 2012

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

Thread Previous
From:
Russ Allbery
Date:
April 25, 2012 08:35
Subject:
Re: pod2html in perl-5.15.9 recognizes POD markup in verbatim sections
Message ID:
87pqavlt87.fsf@windlord.stanford.edu
Shawn H Corey <shawnhcorey@gmail.com> 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 (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About