While you're at it, can you do this: If neither the $ENV{CPAN_CONFIG} or CPAN/Config.pm locations are writable, then write the configuration back to the logical CPAN/MyConfig.pm location when changed, rather than erroring out?
On Fri, 16 Apr 2010 16:10 +0200, "Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯" <da...@cpan.org> wrote: > brian d foy ✍: > > Can we do this without adding yet another global variable, and > > certainly not no in a completely different package that might not even > > be loaded when someone is using CPAN.pm. > You're right. This was the result of programming the solution that came > to my > mind first. > > It's much better when a environment variable is used instead. I have > reworked > the patches at <http://github.com/daxim/cpanpm/commits>, have a look. --Curtis -- Curtis Jewell swords...@csjewell.fastmail.us %DCL-E-MEM-BAD, bad memory -VMS-F-PDGERS, pudding between the ears [I use PC-Alpine, which deliberately does not display colors and pictures in HTML mail]