in reply to Re: Simple Coro + AnyEvent::HTTP example?
in thread Simple Coro + AnyEvent::HTTP example?

Thanks, that's a good start, I tried to change the example to loop over a few URLs and and seems to work (though it looks odd that Google answers last), what I am still missing is how to set a timeout. Well, I can set it for every LWP connection, but how can I set it for the whole loop?
And I don't understand why do I need "$SIG{PIPE} = 'IGNORE';"?
So, really many thanks for this valuable pointer but I would like to understand it a bit better and I am still interested in an example with AnyEvent::HTTP.

Michael
  • Comment on Re^2: Simple Coro + AnyEvent::HTTP example?