You may what to take a look at CGI module.
In reply to Re: How to implement http handler in Perl by Generoso in thread How to implement http handler in Perl by anaconda_wly