in reply to Cool Uses, re-used

LWP::Simple doesn't populate the diamond operator, so you can't use while(<>){..., to answer that question. Maybe you could tie a class to a filehandle that does the LWP::Simple get() behind the scenes, but that just seems a little silly.

It might please the gods if your script were a little more lazy. By that I mean, perhaps there should be a sleep 15 inside the loop, so that you're not banging away at the server quite so furiously. ...just a thought.


Dave

Replies are listed 'Best First'.
Re^2: Cool Uses, re-used
by diotalevi (Canon) on Nov 14, 2004 at 22:54 UTC
    WWW::Mechanize::Sleepy handles playing nice.