Subject: | non-interactive CPAN ignores build_cache size |
I was running a bunch of installs of modules that needed updating
and I noticed my "/var/cache/cpan" dir was getting a bit large...
Show quoted text
> du -sk /var/cache/CPAN
2036762 /var/cache/cpan # 2Gig?
but my "Config" says:
Show quoted text> grep build_cache .cpan/cpan/MyConfig.pm
'build_cache' => q[64],
----
I was running the "installs" via the command line:
Show quoted text> perl -MCPAN -e "install(\"$modname\");"
---
As soon as I ran it interactively, it began deleting the "excess"...:
Scanning cache /var/cache/CPAN/build for sizes:
.........------------------------------------------------------------
-------DONE
DEL(1/318): /var/cache/CPAN/build/Tk-804.028-TjcdEP.yml
DEL(2/318): /var/cache/CPAN/build/Bundle-CPAN-1.857-BKO3X9
DEL(3/318): /var/cache/CPAN/build/Test-Harness-3.09-X_Mg47