in reply to A check on whether pages on a web site have changed

LWP::Simple contains a "mirror" function that does something similar. The description says:

mirror($url, $file)
Get and store a document identified by a URL, using If-modified-since, and checking the Content-Length. Returns the HTTP response code.

You could either use that function or use the code as a basis for your own program.

--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

  • Comment on Re: A check on whether pages on a web site have changed