On Tue Sep 25 08:54:57 2007, MTHURN wrote:
Show quoted text> No matter what I try, I can not get cpanp to load my Config/System.pm.
> Is there a cmdline switch? Also, the help message for 's edit system'
> says it will reload the file after editing, but it does not load.
> I run as root, in older versions I think it defaulted to System.pm...
What does the start up log show you? You can inspect it by pressing 'p' just when
you start up the default shell. Mine looks somewhat like this:
CPANPLUS::Shell::Default -- CPAN exploration and module installation (v0.82)
*** Please report bugs to <bug-cpanplus@rt.cpan.org>.
*** Using CPANPLUS::Backend v0.82.
*** ReadLine support available (try 'i Term::ReadLine::Perl').
*** Type 'p' now to show start up log
Did you know...
You can use plugins. Type '/plugins' to list available plugins
CPAN Terminal> p
[MSG] [Thu Oct 4 15:45:25 2007] Found config 'CPANPLUS::Config::User'
[MSG] [Thu Oct 4 15:45:25 2007] Loading config 'CPANPLUS::Config::User'
[MSG] [Thu Oct 4 15:45:25 2007] Loaded 'CPANPLUS::Config::User'
(/Volumes/HD_2/Users/josboum/.cpanplus/lib/CPANPLUS/Config/User.pm)
[MSG] [Thu Oct 4 15:45:25 2007] Found config 'CPANPLUS::Config::User'
[MSG] [Thu Oct 4 15:45:25 2007] Already loaded 'CPANPLUS::Config::User'
(/Volumes/HD_2/Users/josboum/.cpanplus/lib/CPANPLUS/Config/User.pm)
Yours should mention CPANPLUS::Config::System in here if it can be found in your
path. Is it in CPANPLUS' path? You can check the code in CPANPLUS::Configure around
line 176 -- we use Module::Pluggable to detect the plugins for us.
Let me know if you need any more help.
Cheers,