in reply to CGI Webserver In Perl?
you can adapt your scripts to use something like HTTP::Server::Simple::CGI ?
Also (maybe overkill): Mojolicious::Plugin::CGI.