I use settings http_proxy and ftp_proxy environment variable When I launch g-cpan for the first time, ~/.cpan doens't exist and g-cpan generates a ~/.cpan/CPAN/MyConfig.pm g-cpan detects proxy settings but puts the number "1" instead of the correct value in the file. Other environment variable detections by g-cpan are affected. Reproducible: Always Steps to Reproduce: export http_proxy=http://proxy:3128 rm -rf ~/.cpan g-cpan grep http_proxy ~/.cpan/CPAN/MyConfig.pm Actual Results: 'http_proxy' => q[http://proxy:3128], Expected Results: 'http_proxy' => q[1],
(In reply to comment #0) [...] > Actual Results: > 'http_proxy' => q[http://proxy:3128], > > > Expected Results: > 'http_proxy' => q[1], it should of course read: Actual Results: 'http_proxy' => q[1], Expected Results: 'http_proxy' => q[http://proxy:3128],
*** Bug 109018 has been marked as a duplicate of this bug. ***
Created attachment 70464 [details, diff] a patch that corrects the bug
this was fixed in 0.14, thanks!