Hi all: forgive me if this is the wrong forum, or the question has already been asked.
Linux Mint xfce 19.2 with Perl v5.22
A script with embedded pod renders correctly using "perldoc myfunc"
Linux Mint xfce 20 with Perl v5.30
Does not render Bold, Italics etc but just shows plain text using "perldoc myfunc".
Here is what output looks like (hexdump on mint 19.2, perl v5.22):
perldoc junk2|hexdump -C 00000000 1b 5b 31 6d 1b 5b 31 6d 68 65 61 64 69 6e 67 1b |.[1m.[1mh +eading.| 00000010 5b 30 6d 1b 5b 30 6d 0a 20 20 20 20 1b 5b 34 6d |[0m.[0m. + .[4m| 00000020 61 72 67 75 6d 65 6e 74 31 1b 5b 30 6d 0a 20 20 |argument1 +.[0m. | 00000030 20 20 20 20 20 20 44 65 73 63 72 69 70 74 69 6f | Des +criptio| 00000040 6e 20 6f 66 20 74 68 65 20 66 69 72 73 74 20 61 |n of the +first a| 00000050 72 67 75 6d 65 6e 74 2e 0a 0a 20 20 20 20 1b 5b |rgument.. +. .[| 00000060 34 6d 61 72 67 75 6d 65 6e 74 32 1b 5b 30 6d 0a |4margumen +t2.[0m.| 00000070 20 20 20 20 20 20 20 20 44 65 73 63 72 69 70 74 | D +escript| 00000080 69 6f 6e 20 6f 66 20 74 68 65 20 73 65 63 6f 6e |ion of th +e secon| 00000090 64 20 61 72 67 75 6d 65 6e 74 2e 0a 0a |d argumen +t...| 0000009d
You can clearly see the embedded text formatting escape codes.
However, the same on mint 20, perl v5.30 looks thus:
perldoc junk2|hexdump -C 00000000 68 65 61 64 69 6e 67 0a 20 20 20 20 2a 61 72 67 |heading. + *arg| 00000010 75 6d 65 6e 74 31 2a 0a 20 20 20 20 20 20 20 20 |ument1*. + | 00000020 44 65 73 63 72 69 70 74 69 6f 6e 20 6f 66 20 74 |Descripti +on of t| 00000030 68 65 20 66 69 72 73 74 20 61 72 67 75 6d 65 6e |he first +argumen| 00000040 74 2e 0a 0a 20 20 20 20 2a 61 72 67 75 6d 65 6e |t... * +argumen| 00000050 74 32 2a 0a 20 20 20 20 20 20 20 20 44 65 73 63 |t2*. + Desc| 00000060 72 69 70 74 69 6f 6e 20 6f 66 20 74 68 65 20 73 |ription o +f the s| 00000070 65 63 6f 6e 64 20 61 72 67 75 6d 65 6e 74 2e 0a |econd arg +ument..| 00000080 0a |.| 00000081

No formatting escape codes
I tried the above on a completely new installation of Mint 20 with the same wrong results.
I've used Perl since +- 1999, and have generally always embedded perldoc documentation at the end of each script.
But this is the first time I have seen formatting disappear!
There is no PAGER or PERLDOC_PAGER environment variable on either computer, and terminal settings are the same (those I can change)
Any suggestions? Further info needed?


In reply to perldoc Bold, Italic etc by miguelnixon

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.