Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
my @all_results; foreach my $url (@all_urls) { http_get $url, sub { push @all_results, $_[1]; }; } # but how do I know that all results are there or I run into a timeout +? # Where and how comes Coro into the picture?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Simple Coro + AnyEvent::HTTP example?
by Anonymous Monk on Mar 19, 2009 at 08:05 UTC | |
by Anonymous Monk on Mar 19, 2009 at 08:58 UTC | |
|
Re: Simple Coro + AnyEvent::HTTP example?
by Sinistral (Monsignor) on Mar 19, 2009 at 12:48 UTC | |
by perrin (Chancellor) on Mar 19, 2009 at 19:25 UTC | |
by Anonymous Monk on Mar 19, 2009 at 15:17 UTC |