|
CPANPLUS looks in your @INC, as well as ~/.cpanplus/lib for a config file.
Using the default shell, you can write a customized config file as follows:
CPAN Terminal> s save
Configuration successfully saved to CPANPLUS::Config::User
(/Users/kane/.cpanplus/lib/CPANPLUS/Config/User.pm)
You can edit it as well:
CPAN Terminal> s edit
And put all your conditional code in there.
For details, see the CPANPLUS::Configuer man page:
http://search.cpan.org/~kane/CPANPLUS/lib/CPANPLUS/Configure.pm#can_save(_[$config_location]_)
|