On Thu, Sep 3, 2009 at 4:31 AM, M W487<[email protected]> wrote:
> Can someone tell me what are the best ways to avoid or correct
> excessive build up?

Brush and floss daily?  :-)

In your CPAN config settings, set build_cache and scan_cache.

In CPAN::Reporter::Smoker, I flush the cache manually as well every so
many distributions.  perhaps minismoke box does not?

Here's the code from CRS:

sub _clean_cache {
  # Possibly clean up cache if it exceeds defined size
  if ( $CPAN::META->{cachemgr} ) {
    $CPAN::META->{cachemgr}->scan_cache();
  }
  else {
    $CPAN::META->{cachemgr} = CPAN::CacheMgr->new(); # also scans cache
  }
}

-- David

Reply via email to