in reply to Building a webpage with Perl

I'd suggest working through Ovid's CGI Course (see also CGI Programming from the tutorials section).

Replies are listed 'Best First'.
Re^2: Building a webpage with Perl
by tospo (Hermit) on Apr 08, 2011 at 12:19 UTC
    It's certainly good to learn the basics but I think this tutorial is a bit dated now.

      IMHO it's important to understand the fundamentals of what's involved, such as getting basic scripts running, security concerns etc.

      Your post mentions frameworks and database interfaces (which may be overkill depending on what the exact requirements are), while these are great tools to use threats such as SQL injection and XSS are issues which developers should be aware of. IMHO Ovid's guide is a great introduction to CGI, user input and security (while also providing links to further reading). Lest we forget Little Bobby Tables or the recent lizamoon fiasco.

        I don't disagree with you at all. As I said, it's a great tutorial for the fundamentals and the securtiy considerations are of course important still but I think it is also true that there are more recent approaches to writing web-apps and I would recommend exploring those.
        I'm a bit surprises about the - in my view - slightly excessive downvoting and I think it would be good if those who did downvote could explain why? Not because I'm too fuzzed about XP but because I would really like to know if others really disagree with the notion that a pure CGI script as back-end for a web-app is a bit dated, in particular if the web-app basically handles a database with forms for viewing and updating records.
        I mentioned database interfaces because the OP described a scenario where a CSV file would basically be used as a database - including update operations. To my mind, this is going to be highly problematic in the long run and I'm not sure if your post agrees or disagrees with that position(?)