In my Firefox it is set at:
"Use system proxy settings"
I turned it off briefly, but didn't really see
any changes.
I do not implement a proxy in LWP::Simple.
I don't think I use a system Proxy:
http://www.mflan.com/temp/proxy.jpg
Mike
On 8/29/2019 5:52 AM, Olivier wrote:
And another question... Are you using any proxy in your broswer? If you
do, how did you implemented that proxy in LWP::Simple? Olivier Olivier
<o...@banyan.cs.ait.ac.th> writes:
Mike<te...@mflan.com> writes:
Thanks for the response.
I agree with everything you say.
I just want my LWP::Simple to access every
web link that my browser can access.
I now know that some of you can run the
code below and get all 4 of the websites
I have listed to return the website info.
All 4 of those web links gives:
"Unable to get page at httpfetch.pl line 21."
I can see I am not alone in having this problem.
Others have had the same problem with only a few
web links.
I don't see why you have a 'die at line 21' while your script has way
less than 21 lines. Also, the script comes all mangled by the mail, so
one cannot say if the error is yours or the mailer.
Make your script simple first, so you can confirm your environment is
working:
#!/usr/bin/perl
use LWP::Simple;
$test=get('https://google.com');
print $test;
When that is working, start changing things one at a time and check at
each stage that it is still working.
You may also explore the documentation of LWP::Simple to get an error
message that makes sense, because what you get so far is only 'it does
not work', one cannot make a diagnostic with that only.
Good luck,
Olivier