RE: Seeking Pod::Simple::ANSI
[email protected] ("Hingsbergen, Ed") Fri, 26 May 2023 12:50:14 +0000
| Newsgroups | perl.pod-people |
|---|---|
| Message-ID | <MW4PR10MB5862A00779D87142EBB359DEBB479@MW4PR10MB5862.namprd10.prod.outlook.com> |
Thanks, that worked just as I needed. Ed Hingsbergen | IT Software Development Advisor Custom Applications Management, LLC (CAM) 300 W. Wilson Bridge Road Suite 240 Worthington, OH 43085-2286 Office: 614.547.4757 [email protected] On-Call: 614.547.4793 -----Original Message----- From: Russ Allbery <[email protected]> Sent: Tuesday, May 16, 2023 10:59 PM To: Hingsbergen, Ed <[email protected]> Cc: [email protected] Subject: Re: Seeking Pod::Simple::ANSI CAUTION: This email originated from outside of the organization. Do not cli= ck links or open attachments unless you recognize the sender and know the c= ontent is safe. ---------------------------------------------------------------------- "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 $^=3Dq;@!>~|{>krw>yn{u<$$<[~||<Juukn{=3D,<S~|}<Jwx}qn{<Yn{u<Qjltn{ > 0gFzD = gD, 00Fz, 0,,( 0hF 0g)F/=3D, 0> "L$/GEIFewe{,$/ 0C$~> "@=3D,m,|,(e 0.), 01,pnn= ,y{ rw} >;,$0=3Dq,$,,($_=3D$^)=3D~y,$/ C-~><@=3D\n\r,-~$:-u/ #y,d,s,(\$.),$1,ge= e,print ________________________________ Any personal data acquired, processed or shared by us will be lawfully pro= cessed in line with applicable data protection legislation. If you have any= questions regarding how we process personal data refer to our Privacy Noti= ce. <https://www.sedgwick.com/global-privacy-policy> Any communication incl= uding this email and files/attachments transmitted with it are confidential= and are intended solely for the use of the individual or entity to whom th= ey are addressed. If this message has been sent to you in error, you must n= ot copy, distribute or disclose of the information it contains and you must= notify us immediately (contact is within the privacy policy) and delete th= e message from your system.