Embperl gives you the power to embed Perl code in your HTML documents and the ability to build your Web site out of small reusable objects in a OO-style. You can also take advantage all available Perl modules, (including DBI for database access) use their functionality and easily include their output into your web pages.
Embperl has several features especially useful for creating HTML, including dynamic tables, formfield-processing, escaping/unescaping, session handling, and more.
Embperl is a server-side tool, which means that it's browser-independent. It can run in various ways: under mod_perl, as a CGI script, or offline.
If you would like to get an impression of Embperl's features, you can see them here. Read the introduction to get started. If you would like to know more about Embperl, here is the full documentation. Creating your website out of small reusable objects is described in the introduction to EmbperlObject and the documentation for EmbperlObject and HTML::Embperl::Mail gives you the possibility to send the result pages per email. A FAQ list is also available and the history of Changes can be found here. There are some useful examples which shows how Embperl works.
Addtionaly there is a module for Database access within Embperl, look at DBIx::Recordset and read the introduction.