I am completely new to Perl, as in, just started reading a book about it one week ago. Other than that, my background is in computer science although I have never applied my degree skills professionally in the past, and now I am trying to. My question is this... I am trying to write my first CGI Perlscript and am just wanting to do something easy, so I thought a phone directory would be a simple start. I would like to be able to add, delete, modify and search for numbers by name (either first or last name). I understand the idea of one CGI script calling my run modes, but how are the run modes passed??? Are they in the HTML forms that I will need to create? Also, I was wondering if someone would be willing to shell out what this program looks like and I can take it from there? It seems like I understand the pieces of the puzzle, but just not how they all fit together. I would like to use the HTML Template module and DBI as well. Anyone who can help would be my savior...so far my code looks like crap and this idea of "my $self = shift;" within run modes is mind blowing to me. Please HELP!!!! Thanks in advance,

In reply to Question on CGI: Application and Run Modes by derekash913

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.