Thanks for the responses. perldoc -t doesn't seem to change anything. On my Windows system, perldoc seems to be perldoc.bat which is a quite long confusing file. I have tried editing (a copy) of that with some success, but I thought I shouldn't have to do that.
The output of perldoc can't be sent to a file by e.g.
perldoc perldoc > perldoc.txt
which seems strange to me (although I can achieve such a result in a different way.)
Perhaps it is something about my machines. I am running Windows 98 on 2 similar machines. On one of them backquotes doesn't seem to work correctly; @dir=`dir` causes the directory listing to be printed to the screen but @dir receives nothing. (I mention this because I tried to rewrite perldoc by capturing the output with backquotes and then filtering that in some way.) I guess I will switch to Linux one of these days.
chas

In reply to Re: Perldoc output differences by chas
in thread Perldoc output differences by chas

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.