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.
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
.