in reply to CGI forms and DB interaction

CGI.pm and DBI.pm work well together, with CGI collecting user input, and DBI speaking to the database.

Higher-level web app frameworks like CGI::Application and Catalyst help organize your app. Some may have helper functions which simplify I/O and other necessities.

After Compline,
Zaxo