If your target system is aimed for Apache, the Apache::ASP module lets you embed your perl scripts in html. It uses the ASP object model which gives you request, response, session, application and server objects to use in your code. The Apache::ASP project page can be found here