Here's my opinion.
- I'd use LWP::UserAgent instead of LWP::Simple (More control and info)
- I would scan periodically, not every time. (Maybe every 5-10 minutes)
- I would use get instead of head because some servers (as noted above) deny it or respond incorrectly.
- Check the context-type to make sure it's an image not html or some other type of response.
- Optionally I'd add an MD5 digest of the images so I could tell if they were live or if they had a static "cam down" image or similar.
-Lee
"To be civilized is to deny one's nature."