Hello, $Bill Luebkert, Zac Morris, Martin Moss and
other
Thank you for respond, but:
1. I use Win32 and ParallelUserAgent is for Linux and
Sun not for Win32 OS
2. ThreadPool is not for me - it is bad choice (I
don't know Perl as you $Bill, but I expect another
decision for this problem.)
In perldoc on page
\Perl\html\site\lib\LWP\UserAgent.html is write:
$ua->request($request, $arg [, $size])
Process a request, including redirects and security.
--> This method may actually send several different
simple requests. <--
The arguments are the same as for simple_request().
That is what I want, but nowhere is write example how
to do that. Anyone have an idea?
In my program I have @massiv with many saits, I want
cicle, and in every cicle I have 10 request, when one
die another to change it for the end of @massiv
For example:
@massiv=qw/ sait1 sait2 .... saitN/;
sub something {
$ua = LWP::UserAgent->new;
$ua->agent("$0/0.1 " . $ua->agent);
$req = HTTP::Request->new(GET => "$one_sait"); # but
not $one_sait, many saits (10 or 20 or ..)
# How to do that?
}
I have seen many programs do that written in C or C++,
but I know only Perl and PHP for pity in this moment.
Thank you for supporting people like me.
__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs