$CPAN::Config = { # more stuff here ... 'ftp_proxy' => q[http://user:passwd@server:port], 'http_proxy' => q[http://user:passwd@server:port], # ... and here also }