Oh well, it was certainly not my intention to make it sound as if that tutorial was bad nor was it my intention to infer that I would be able to make a better tutorial. Apologies if my post was perceived like that.
My only intention, really, was to point out to the OP - someone who is obviously just starting on a first web app - that the one-cgi-script web-app may not be the lastest development in this area and that she/he should - IMHO - look into some more recent suggestions of how this problem can be tackled.
I did suggest (earlier) some alternatives that I am using myself. Yes, frameworks come with a bit of a learing curve too but I see a clear danger for the OP to end up with an ever-growing cgi-script that tries to handle this CSV file database. That is why I suggested CGI::Application, which doesn't move away too much from "traditional" Perl CGI while making it easier to maintain some structure in the code.
I also think it should be ok to express the opinion that something may be outdated and I think it's equally ok to point out why it isn't or what aspect of it aren't. I don't think that is the same as just being negative. Great tutorials and books have been written in the past but it is often difficult for the beginner to see how up-to-date these are, even if it is clear when they were written.
Anyway, enough said and I think there's enough information here now to get the OP started (or confused... :-)

In reply to Re^5: Building a webpage with Perl by tospo
in thread Building a webpage with Perl by relientmark

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.