Re: Seeking Pod::Simple::ANSI
[email protected] (Russ Allbery) Tue, 16 May 2023 19:58:31 -0700
| Newsgroups | perl.pod-people |
|---|---|
| Organization | The Eyrie |
| Message-ID | <[email protected]> |
"Hingsbergen, Ed" <[email protected]> writes: > Hello POD-people, > I am looking for what amounts to Pod::Simple::ANSI. > I wish to be able to use POD content from within a program, > specifically, to use a section of the POD from a library module (using > Pod::Select - I'm currently tied to Perl 5.28.3) as documentation in the > help screen of a program that uses that module. I would prefer render it > appropriately on my ANSI display, rather than to resort to the plain > text output of Pod::Simple::Text. If by that you mean some amount of color highlighting using ANSI escape sequences, Pod::Text::Color provides that, although it's quite conservative and limited. There is a Pod::Text::Color::Delight module on CPAN that is much more aggressive about coloring things and may be more appealing. -- #!/usr/bin/perl -- Russ Allbery, Just Another Perl Hacker $^=q;@!>~|{>krw>yn{u<$$<[~||<Juukn{=,<S~|}<Jwx}qn{<Yn{u<Qjltn{ > 0gFzD gD, 00Fz, 0,,( 0hF 0g)F/=, 0> "L$/GEIFewe{,$/ 0C$~> "@=,m,|,(e 0.), 01,pnn,y{ rw} >;,$0=q,$,,($_=$^)=~y,$/ C-~><@=\n\r,-~$:-u/ #y,d,s,(\$.),$1,gee,print