On Fri, Oct 05, 2001 at 10:56:53AM +0200, walter valenti wrote: > i want make more connection HTTP "symoultaneus" (using LWP or SOCKET, is > the same).
It's "simultaneous". :) > If i make a cicle with the request, the new request has made only where the > old request is closed > (close the socket) > > I.E > for(;;){ > &http; > } > > sub http{ > #sub that make the request with LWP or SOCKET > } Ok, that's what you want to do, but what have you tried? Have you read the documentation? What about fork is confusing you? Perhaps an example: foreach (...) { my $pid = fork(); die("fork failed: $!") unless defined($pid); unless ($pid) { http(); exit(0); } } By the way, for (;;) is an infinite loop; I'm pretty sure you don't want to connect to an infinite number of hosts forever. Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]