Gisle Aas wrote:
Your problem is that LWP::Simple calls $ua->env_proxy when it loads. The
-MLWP::Simple make perl load the module before the -e code runs. You need to
arrange for the environment variable to be deleted before that. Deleting it in a
BEGIN block is probably the way to go. For instance like this:
perl -e 'BEGIN{ delete $ENV{HTTP_PROXY} }; use LWP::Simple; print
get("http://www.google.co.uk")'
Excellent! It works and explains why my trial and error was mostly error.
thank you, kindly!
--
Boyd Duffee Keele University
Systems Guy (01782) 734225
"Ё моё!" - Pavel Andreievich Chekov