I actually think you will probably want something more like this:
I would have expected a more details from the HTTP::Daemon docs, but perhaps they expect you to look at the examples.if ($r->method eq 'GET') { $c->send_response('Content-Type: text/html'); print $c "<html><head></head><body>Hello World</body></html>"; }
In reply to Re: HTTP::Daemon send_response Problem
by afresh1
in thread HTTP::Daemon send_response Problem
by bkiahg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |