Moving from HTTP::Server::Simple to a PSGI setup using Plack shouldn't be hard. In HTTP::Server::Simple(::CGI), you have the subroutine handle_request, which prints its output. In PSGI, you have an anonymous subroutine that returns the HTML to be sent.
This is the part you need to change, instead of printing your HTML, you return a triplet of [ $status, $headers, $body ].
In reply to Re^3: HTTP::Server::Simple forking/SSL/IPv6
by Corion
in thread HTTP::Server::Simple forking/SSL/IPv6
by cavac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |