in reply to Re: retrieving multiple web documents
in thread retrieving multiple web documents
POE::Component::Client::HTTP looks interesting, too, although when I had a quick look at it the documentation wasn't too great so I never got any code working. POE looks like an interesting tool for dealing with a variety of parallel tasks in Perl, though.
Ntav's code might benefit from using an array of URLs instead of a series of scalars. For example:
use LWP::Simple; my @page = qw(http://www.first.com http://www.last.com); foreach (@page) { get($_); }
|
|---|