I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-02-15 12:48:29-08 by jib in response to 9956
Re: How to load a configuration file?
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]_)
Direct Responses: Write a response