Hello PodMastah,
I just found the weak place in my script, $entries = $pua->wait(); should be in the same loop, where I register agent! Thanks for pointing me. Now everything works fine, I guess:) | [reply] [d/l] |
heloo again
I was wrong in previous reply. If I put $pua->wait(); there, it is same as LWP::Simple (no paralel). I try to tweak it, but no success (creating another loop, with $pua->agent("$agents[$counter_2]"); $pua->wait();.
You changed my code, so it works now? If not, just try. I have no idea, why it is not working at me, really. Please help. | [reply] [d/l] [select] |
You changed my code, so it works now? If not, just try. I have no idea, why it is not working at me, really. Please help.
All right.
wait is not responsible for actualy making the request.
How do I know?
| MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!" | | I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README). | | ** The third rule of perl club is a statement of fact: pod is sexy. |
| [reply] [d/l] [select] |
hello PodMaster !!!
thanks for reply, I read 5 times your post, but I don't know what I should change in my script. I'm scripting in perl around 6 months, so I am not so good in debugging. Also I thought about that, it is not possible what I want in LWP::Parallel, maybe better is use more processes, but I 'm not sure. I thought LWP:P will be easier to use (I used it without no problems with the same UA). So, if you please could write me, what I should change in my code. Thanks.
-- Brano
| [reply] |