http://www.perlmonks.org?node_id=201434


in reply to •Re: (kudra: CPANPLUS) Re: To install a module...
in thread To install a module...

Index files are reloaded if you start to use them and they are older than one day at the time. You can force a reload in the backend object with my $reload = $cp->reload_indices(update_source => 1); (in the shell it's the 'x' command) and it is also possible to change the update time with the private method $conf->_set_source( update => '1000' ). The first method is documented in Backend.pm.

By 'no setting for the current CPAN archive', do you mean modifying the URI list based upon where you are? You can set environment variables to do this:

#!/usr/bin/perl BEGIN { $ENV{ftp_proxy} = 'current.domain.org'; } use CPANPLUS; shell();
This example comes from the FAQ. "Can I use a local mirror..." might also be appropriate; I'm not completely sure what you're pointing out.

You can mail the bugs list or the general suggestion list, cpanplus-bugs and cpanplus-info respectively, at lists.sourceforget.net to report bugs or make suggestions. Other contact information is also found on the sourceforge pages.