miyagawa / cpanminus

cpanminus - get, unpack, build and install modules from CPAN
http://cpanmin.us
749 stars 213 forks source link

Support installing modules to different perls #93

Open miyagawa opened 13 years ago

miyagawa commented 13 years ago

Currently cpanm only installs to perl that is driving the cpanm itself. In the code there's $self->{perl} where you can specify the perl executable but it doesn't work well with --local-lib option and such i believe, since Module::Metadata scans inc for the actual @INC.

miyagawa commented 11 years ago

perl -S cpanm should work.