You need to set the environment variable HTTP_PROXY appropriately before you start the program and then add $ua->env_proxy; before you make the request and all should be well. There is more about this in the LWP::UserAgent manual.
/J\
In reply to Re: Get URL perl program
by gellyfish
in thread Get URL perl program
by bnadesan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |