The OP wrote

Lately I have been trying to install a lot of modules with cpan [...] For those with few tests which do not scroll my screen, copying the test data and Test Summary Report is easy; but for others which have a lot of tests, it is difficult to get everything from the command prompt window.
I was thinking it would be nice if I could have the text printed to my screen also printed to a file [...]

The OP's question was not fully addressed by any answers yet given.

Oops, am I stepping on toes?

Do I care? I seem not to.

There are really 3 issues being offered here.

  1. Many tests are failing for this user.
  2. The user is encountering physical difficulty with locating the real (meaningful) content of console output text pertaining to the failures.
  3. The user had a secondary thought that it would be a convenience if test failures were sent in automatically.

The last issue is the one that was apparently found "interesting to answer" by other users (or pseudo-users). I don't need to address it.

The first issue was barely addressed. It was addressed by an unproven assumption, to the extent that it was addressed at all. That was by a pseudo-user. The contention was that "prerequisite modules were not found." I don't know who this crackpot is, but frankly, he's lowering the quality of information on perlmonks. He seems to have lots of opinions and lots of time to post to Perlmonks. The lack of genuine knowledgability, the absence of rigorous evidence ("In the absence of evidence, opinion is indistinguishable from prejudice"), the style of expression, all suggest to me that this frequently seen pseudo-user is all one guy. I'd like to now suggest to him, having tried to be more thorough in addressing him previously, that he just get lost.

Is the OP using a MS Whyyndwoes paltform? Being a Whyyndoes sufferer myself, I know for a fact that test failures are more common on these M$ platforms.

The second point is a matter of real interest to people who truly want to help. The scrolling of output produced by testing can be a problem. Adjustments to the console or terminal emulator being used can help. First, make sure that one has enough "scroll buffer" set to allow scrolling back through a large number of screenfuls. Second, invest the time in installing and learning one of the replacements for the native MSW console application (the CMD.exe box). Several decent alternatives exist. GIYF.

Contributors to CPAN have done a lot to make test output cleaner - easier to systematically write test suites that produce output that is consistent from module to module. Props, to the folks who develop TAP. Nevertheless, it is an acquired skill to read test output well and see what is really meaningful. A log file helps a lot. I personally use cpanp, the CPANPLUS (CPAN++) client. It generates logs.

In reply to Re: When cpan returns the dreaded "won't install without force" by Intrepid
in thread When cpan returns the dreaded "won't install without force" by Lady_Aleena

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, 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, 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.