in reply to Re: AnyEvent::HTTP and getting data back from a post request
in thread AnyEvent::HTTP and getting data back from a post request
The callback is only called at the end or on error, not whilst we wait, so that comment doesn't match the codesub transfer($){ my $toReturn ; ... http_ ... sub { my( $body, $headers) = @_; $toReturn = [ $body, $headers ]; }; ... return $toREturn; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: AnyEvent::HTTP and getting data back from a post request
by kiz (Monk) on Jan 27, 2011 at 14:59 UTC | |
by Corion (Patriarch) on Jan 27, 2011 at 15:31 UTC | |
by Anonymous Monk on Jan 27, 2011 at 15:42 UTC | |
by kiz (Monk) on Jan 27, 2011 at 16:13 UTC |