Leo Susanto <leosusa...@gmail.com> writes: > On Fri, Sep 28, 2012 at 3:06 PM, Neil Bowers <n...@bowers.com> wrote:
>> Doing the -t will take care of all of the dependencies, won't it? >> Certainly seemed to when I was testing my script earlier. Yes. > I think at newer version of cpan, running cpan -t Module::Name will > roll everything (module + dependencies) into blib (before install), > instead of installing dependencies directly to site/lib. > > Never really have the time to test this properly, so I could be wrong. > > Andreas Koenig is on this mailing list, he could verify this. Testing without installing works by adding all relevant blib directories to the environment variable PERL5LIB. This works until you reach a limit in your operating system on the length of environment variables. Personally I find not installing things inefficient because you may have to build dependencies again and again. I prefer to install things and remove old perls every now and then. But one of the beauties of cpantesters is that everybody finds a different way to do it so that we find different bugs. -- andreas