PERL LWP code to retrieve a web page

Job ID: 34604432

Budget: $10 – $30 USD

I cannot find a solution to use LWP to retrieve a web page.

I have a PERL script that has worked since 1995 (with updating as needed) to retrieve weather data and display it for windsurfers as a public service on my CORGE,com website, until 2 weeks ago when the National Weather Service made a change causing an access problem I cannot get around with my script. I think it is a proxy or https problem because the page is a public page and the format is unchanged.

I need an example of a working PERL script to retrieve the web page at https://tgftp.nws.noaa.gov/weather/current/KAST.html. I will incorporate the example/solution into my script that posts on demand the hourly weather from weather stations in the Columbia River Gorge. If the script works to get the page at https://www.corge.com/cgi-scripts/GorgeWeather.pl?linkto=index&org=CORGE then it will work for the other stations also.

My website is hosted by Hostek.com on an NT server using IIS.
Related categories: Perl IIS