$ENV{HTTP_PROXY} = 'http://$username:$password@192.168.1.10:8080'; $ENV{HTTPS_PROXY} = 'https://$username:$password@192.168.1.10:8080';
Single quotes don't interpolate (the $username and $password), so you want double quotes here (but don't forget to escape the @).
Not sure if that's the only problem, but it's at least something you probably expected to behave differently.
In reply to Re: Problem with proxy and LWP
by Eliya
in thread Problem with proxy and LWP
by ladyscifi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |