SilasTheMonk has asked for the wisdom of the Perl Monks concerning the following question:
I am looking for a good way to make sure that I know what cpan is doing when I install a perl module. For example "cpan -i Titanium" will attempt to install quite a lot. When I tried it I was so horrified I restored from backup. So now my plan is:
I have a little script:
When I can run this without any errors I will proceed to do a real install. Can anyone improve on this?#!/bin/bash echo "/usr/bin/cpan -t $1 2>&1 >/root/reports/$1.log" | script /root/r +eports/$1.txt
Edit:I should say it was only when I saw the errors flying past, it occurred to me that the system did not have a compiler.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: RFC: auditing cpan installs
by jettero (Monsignor) on Apr 30, 2009 at 13:06 UTC | |
by SilasTheMonk (Chaplain) on Apr 30, 2009 at 13:10 UTC | |
Re: RFC: auditing cpan installs
by thunders (Priest) on Apr 30, 2009 at 15:19 UTC | |
by thunders (Priest) on Apr 30, 2009 at 15:23 UTC | |
Re: RFC: auditing cpan installs
by JavaFan (Canon) on Apr 30, 2009 at 16:12 UTC | |
by SilasTheMonk (Chaplain) on Apr 30, 2009 at 20:10 UTC | |
by DrHyde (Prior) on May 01, 2009 at 10:59 UTC |
Back to
Seekers of Perl Wisdom