in reply to perlbrew: moving to a new perl with all current modules

Or even cat /tmp/pms | xargs cpanm, since cpanm accept multiple modules to install on its command line.

I also have a local CPAN mirror set up with CPAN::Mini, which greatly reduces installation time of modules. (And no, for bigger installations that still takes more than a minute, but the manual effort is just a minute).

Replies are listed 'Best First'.
Re^2: perlbrew: moving to a new perl with all current modules
by tobyink (Canon) on Jun 17, 2012 at 10:17 UTC

    Some operating systems (e.g. Linux) place an arbitrary limit on the length (in bytes) of the argument list passed to a process.

    See Linux ARG_MAX.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
        xargs needs a -n switch for that though - or does it not?