notest from CPAN::Shell ~ Sep 15, 2009
I implemented a simple dependencies installer for the new Planeta Linux. I spent some time trying to find how to make CPAN::Shell::install to install modules without running the test units, it's quite simple.
CPAN::Shell->rematein("notest", "install", $module);
Kudos to mst for the pointer.




I'd have suggested:
CPAN::Shell->notest("install", $module);
The rematein() method is considered internal (and is undocumented).
Andreas Koenig
16 Sep 09 at 12:03 am
I have the same problem, trying to install a module from perl and without running tests. The solution you posted does not work for me, it says
Can't locate object method "notest" via package "CPAN::Module" at /usr/lib/perl5/5.8.8/CPAN.pm line 2137, line 61065.
I am using perl 5.8.8
Do you have another solution?
cserpell
1 Mar 10 at 3:37 pm
What CPAN.pm version are you using?
~ $ perl -MCPAN -e 'print $CPAN::VERSION, "\n";'
1.9402
David Moreno
1 Mar 10 at 3:51 pm