BEGIN { $ENV{HTTPS_PROXY} = 'http://myproxy.internal.corion:8080'; $ENV{HTTPS_PROXY_USERNAME} = 'Corion'; $ENV{HTTPS_PROXY_PASSWORD} = 'Corion'; }; use Crypt::SSLeay; use WWW::Mechanize; ...