in reply to Specifying directories for cpan shell
I got the idea from Re: CPANPLUS custom configurations. See also mkmyconfig, Install a CPAN module at x location, Personal library with CPAN, Installation of modules in home directory, install_base.#!/usr/bin/perl -- BEGIN { package CPAN::MyConfig; $INC{'CPAN/MyConfig.pm'} = __FILE__; ... }; my $cpan = 'path/to/cpan'; do $cpan;
|
|---|