Following is the most simple usage example from the AnyEvent::HTTP documentation. For me this program finishes without any output. Does anybody have any ideas why this doesn't work?
#!/usr/bin/perl -w
use strict;
use warnings;
use AnyEvent::HTTP;
http_get "http://www.google.com/", sub { print $_[1] };