How to log Installation-Activity ??

Hi @ All,

short question:
i want to log my cpan Installation in a text-File.
My first try was

cpan -i module | tee /home/install.txt

but this don�t logs my inputs, eg. what i typed in when cpan asks where are my progs or which mirror i want.
Can somebody help me with this?
Regards,

Solved - ... i did it with "script"
Thanks.

Turn on logging in your terminal client (Putty?) maybe.