in reply to cpan home
There seems to be no documented way, but looking at CPAN::HandleConfig::require_myconfig_or_config, the following could work (likely you want that as a separate script or alias):
perl -e "require '~/.cpan/MyConfig.$(uname).pm'; $INC{'CPAN/MyConfig.p +m'}=1" -MCPAN -eshell
Likely, your ~/.cpan/MyConfig.linux.pm should look like
package CPAN::MyConfig; ... options as in the common CPAN::MyConfig
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: cpan home
by equick (Acolyte) on Feb 16, 2011 at 11:37 UTC | |
by Anonymous Monk on Feb 17, 2011 at 03:59 UTC |