Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: LWP::Simple - so they say!

by MorayJ (Beadle)
on Apr 20, 2012 at 12:03 UTC ( #966185=note: print w/replies, xml ) Need Help??

in reply to LWP::Simple - so they say!


Thanks for the tips and answers

I'm going to have to revisit this, I think. 'Mech' looks like too much...possibly I should be looking at HTTP::Response as all I want is for the server to tell me if that page is there (the links aren't on a webpage, they're in an xml document).

I'm just going to assume that, for the small amount of pages I'm doing, the inefficiency in time etc doesn't matter. Interrupting the download is something I might follow up if the links multiply too much.

I used the 'HTTP Headers' Chrome install as don't have telnet here, and that seemed to happily give me headers on my pages. I expect it's some quirk in what I'm doing, and maybe time will reveal it to me.

Not helped by my ignorance of headers!

Thanks for the help and if I refine it, I'll report back

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://966185]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2018-06-17 22:43 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (107 votes). Check out past polls.