in reply to Re^2: How to use Perl in web pages?
in thread How to use Perl in web pages?

Based on my own experience, I would agree with everything hangon said, and also recommend that you first get yourself oriented with a simpler script that uses just the CGI module, as demonstrated by Corion. As you get comfortable with the basics of how things work, start using HTML::Template. You'll appreciate how it improves things relative to using only CGI.

And then when that's working for you -- and if you want your web app to manage a wider range of activity with a minimal amount of coding, get acquainted with CGI::Application. Getting started with it is pretty easy (once you understand CGI and HTML::Template), and it really helps for keeping the code simple and manageable as the app gets bigger.

Spend some time skimming and probing the full length of the documentation that comes with each module, and then refer back to that as needed when writing code. Each manual has a lot of information (the size of the manuals might be a bit scary at first), and a lot of helpful and useful examples. When you understand the details provided in the manual about a particular function, it's a good bet that you really do know what you're doing.