#!/opt/perl/bin/perl use common::sense; use AnyEvent; use AnyEvent::HTTPD; my $cvar = AnyEvent->condvar; my $httpd = AnyEvent::HTTPD->new (port => 19090); $httpd->reg_cb ( '' => sub { my ($httpd, $req) = @_; $req->respond ({ content => ['text/html', <<'CONT']});