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
In reply to Re: cpan home
by Corion
in thread cpan home
by equick
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |