6 my $cvar = AnyEvent->condvar;
8 my $httpd = AnyEvent::HTTPD->new (port => 19090);
12 my ($httpd, $req) = @_;
13 $req->respond ({ content => ['text/html', <<'CONT']});
14 <html><body><h1>Hello World!</h1>
15 <a href="/test">another test page</a>
20 my ($httpd, $req) = @_;
23 $req->respond ({ content => ['text/html', <<'CONT']});
24 <html><body><h1>Test page</h1>
25 <a href="/">Back to the main page</a>