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