in reply to What modules got installed?

I found some useful methods in Logging the CPAN Shell by carol.

marto and quester suggested something like this:

>script -c 'TERM=dumb cpan' -a /root/Desktop/cpan.log cpan> install Module cpan>exit
planetscape suggested something like this:
cpan> install Module > /root/Desktop/cpan.log cpan>q
It prints to log not STDOUT.

Replies are listed 'Best First'.
Re^2: What modules got installed?
by ikegami (Patriarch) on Mar 16, 2011 at 02:26 UTC

    I had never heard of script, thanks. I don't really need to monitor input, so tee would be just as good.

    The whole shell redirect inside of cpan is novel too. install Foo | tee out allows you to see what's going on.