in reply to Re^2: perldoc Bold, Italic etc
in thread perldoc Bold, Italic etc

> Sounds almost as if perldoc 5.30 now defaults to plain text instead of pod formatting.

Nope!

PLEASE show us perldoc -D on both Mint systems!

see also Re: perldoc Bold, Italic etc (updated)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^4: perldoc Bold, Italic etc
by miguelnixon (Novice) on Aug 31, 2021 at 19:03 UTC
    Thanks for the feedback, Rolf
    Herewith same command on both machines
    Mint 20 perl 5.30:
    mike@MiguelDeskXFCE20B:~$ perldoc -D CGI Ending switch processing. Args are [CGI] with 0 errors. Pagers: /usr/bin/sensible-pager, more, less, pg, view, cat/usr/bin/per +ldoc => Pod::Perldoc v3.2801 Formatter class Pod::Perldoc::ToText version 3.28 successfully loaded! Will format with the class Pod::Perldoc::ToText

    and on my Mint 19 laptop with perl 5.22:
    mike@MiguelDell ~ $ perldoc -D CGI Ending switch processing. Args are [CGI] with 0 errors. Pagers: /usr/bin/sensible-pagermorelesspgviewcat/usr/bin/perldoc => Po +d::Perldoc v3.25 Formatter class Pod::Perldoc::ToTerm version 3.25 successfully loaded! Will format with the class Pod::Perldoc::ToTerm
      Thanks! :)

      It should load Pod::Perldoc::ToTerm, could you please check if an explicit -oterm loads it?

      If it's available, I can't tell from this output why it's not chosen. (apart from the missing commas)

      probably comparing the ENV variables sheds some light.

      I'd also play with setting PERLDOCDEBUG

      > Having PERLDOCDEBUG set to a positive integer will make perldoc emit even more descriptive output than the -D switch does; the higher the number, the more it emits.

      If this doesn't give a clue I'm afraid I'm out of ideas.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

        If I run perldoc -oterm junk2
        all I get is as below, with "ESC" in Inverse color (ie: not rendered graphically)
        ESC[1mESC[1mBold headingESC[0mESC[0m * ESC[4mItalic itemESC[0m Description of the first argument. * ESC[4malso ItalicESC[0m Description of the second argument. /tmp/cXitYT435j (END)
        As I said, only perldoc -oman junk2 actually renders the Bold, italic etc.