Maybe I'm a little slow on the uptake or something but I don't see how an interactive cpan client this solves the problem. I was saying that a good solution would be something that would work automatically -- that is, without human intervention -- to download and compile some specified list of modules and log all errors on a particular target system.
All you have to do is not run cpan/cpanp/cpanm in interactive mode :)
Now, specifically, how could I accomplish that?
- You configure cpan/cpanp/cpanm to
- run non-interactive
- keep logs
- install modules in a certain perfix
- ...
then you run it, something like this:
set PERL_MM_USE_DEFAULT=1
set PERL5_CPANPLUS_TEST_VERBOSE=1
set TEST_VERBOSE=1
set PERL5LIB=/home/user/stuff/lib/perl5
set PERL_MB_OPT=--install_base /home/user/stuff
set PERL_MM_OPT=INSTALL_BASE=/home/user/stuff
set PERL_CPANM_HOME=/home/user/stuff/.cpanm
cpan-outdated -p | cpanm
cat /home/user/stuff/.cpanm/build.log
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.