Maybe HTTP::Request::AsCGI will be of use to you in this situation.
In reply to Re: How to use CGI with HTTP:Daemon by bingos in thread How to use CGI with HTTP:Daemon by cormanaz