|No such thing as a small change|
LWP::Simple - so they say!by MorayJ (Acolyte)
|on Apr 20, 2012 at 09:03 UTC||Need Help??|
MorayJ has asked for the
wisdom of the Perl Monks concerning the following question:
I'm having a little difficulty understanding an aspect of either LWP::Simple or web delivery and hoped for some enlightenment
I am using LWP::Simple and the following code snippet:
This then works with external web pages, but the webpages on my system delivered from work don't seem to return headers. I took the stick I run perl on home and tried on my home machine to the company pages, and they still didn't return headers. I wanted to know if it was because I was on the same network, which I'm not at home.
If I change from 'head' to 'get' then it works - but I don't want to download the full pages each time.
Does this make sense as a question, or does anyone understand what's going on?