Re: Geo::WebService::Elevation::USGS

2019-08-29 Thread Olivier
-- And another question... Are you using any proxy in your broswer? If you do, how did you imnplemented that proxy in LWP::Simple? Olivier Olivier writes: > Mike writes: > >> Thanks for the response. >> >> I agree with everything you say. >> I just want my LWP::Simple to access every >> web

Re: Geo::WebService::Elevation::USGS

2019-08-29 Thread Mike
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:

Re: Geo::WebService::Elevation::USGS

2019-08-29 Thread Olivier
Mike 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. >

Re: Geo::WebService::Elevation::USGS

2019-08-29 Thread Mike
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

Re: Geo::WebService::Elevation::USGS

2019-08-29 Thread Mike
I sure appreciate your help. I have done quite a few things listed on the internet with both Simple and UserAgent. We see that many of the failing sites are govt sites.  One guy can access all my Not Working sites, but he says that glorecords and nationalmap.gov react very slow, even when

Re: Making use of XML::Feed->parse() more robust

2019-08-29 Thread Lars Noodén
On 8/28/19 7:33 PM, Andy Bach wrote: > Look at eval blocks - lets you trap fatal errors from other code and not > die/abort yourself. > https://perldoc.perl.org/functions/eval.html Thanks. I went with an eval block since it was very quick to set up. > You can also wrie your own signal handling

Re: Making use of XML::Feed->parse() more robust

2019-08-29 Thread Andy Bach
> Is this something which should be handled differently in the module itself? Possibly. But what the author considers to be fatal is up to them so I wouldn’t say “should” but “could” ... that’s why Perl has eval ;-). You can go into the module code, find the “die” and change it “warn” maybe.

Re: Geo::WebService::Elevation::USGS

2019-08-29 Thread Mike
I was thinking it might give the fill in form that you get when you go here: https://nationalmap.gov/epqs/ I think you are right.  It is acting as intended when visited with a browser. Mike On 8/28/2019 10:00 PM, Olivier wrote: Mike writes: Thanks for the response. Yeah, I don't

Re: Geo::WebService::Elevation::USGS

2019-08-29 Thread Olivier
Mike writes: > I sure appreciate your help. > > I have done quite a few things listed on the internet > with both Simple and UserAgent. Sorry Mike, but I have hard time to get a clear picture of what you are saying. Did you manage to use LWP::Simple to load google.com? This is really the