LWP::Iterator::UserAgent - a non-blocking LWP iterator
Construct a new LWP::Iterator::UserAgent object. Passes additional %opts through to LWP::UserAgent::new().
my $pua = LWP::Iterator::UserAgent->new(%opts, deadline => 10.5);
$pua->deadline; $pua->deadline($seconds);
Where the Parallel::UserAgent expects you to wait() on it, this class needs to be nagged or it will never do anything.
while(1) { $pua->pester and last; }
Optionally, you can pass a timeout value.
$are_we_there_yet = $pua->pester(0.1);
Note that while the LWP::Parallel::UserAgent class uses timeout as an overall deadline, this class uses the deadline attribute.
$bool = $self->_check_connections;
$self->handle_response(thbbt);
Internal use only. Our base class drops everything on the floor when this method is called (during authentication), so we need to hatchet on it a good bit.
$self->request(thbbt);
Eric Wilhelm (@) <ewilhelm at cpan dot org>
http://scratchcomputing.com/
Copyright (C) 2006 Eric L. Wilhelm and OSoft, All Rights Reserved.
Portions derived from LWP::Parallel::UserAgent, copyright 1997-2004 Marc Langheinrich.
Absolutely, positively NO WARRANTY, neither express or implied, is offered with this software. You use this software at your own risk. In case of loss, no person or entity owes you anything whatsoever. You have been warned.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install dtRdr, copy and paste the appropriate command in to your terminal.
cpanm
cpanm dtRdr
CPAN shell
perl -MCPAN -e shell install dtRdr
For more information on module installation, please visit the detailed CPAN module installation guide.