Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??


I am a newbie to CGI. I was tasked with creating a dynamic website for displaying ever changing text in a table. Small, simple, and yet somewhat of a challenge for someone like me who has never done any CGI.

So I grabbed CGI.pm (to use perl, or to not use perl, was never a question :) and started writing samples and getting the feel for the different approaches to both CGI styles and to the differences between the OO methods and the Function Oriented methods (as well as discovering why not to mix the two). I was doing quite well with the simple stuff, however some of the gotchas were plaguing me. So I stopped off at a bookstore and looked for Perl/CGI books. I picked up 2, this one and "Writing CGI Applications with Perl". To be honest I never really opened the second book until after the project.

The biggest attraction to this book was the author, I had previously read "Network Programming with Perl" and loved the way he writes, this book was no different. I gives a great deal of detail to nearly every aspect of CGI.pm and follows it up with practical code samples that are stepped through line by line. Advanced users of CGI.pm might not find the book as useful, however even the pros need a reference sometimes and this book is a wonderful reference.

It covers everything from getting and installing CGI.pm to using it with cookies and even JavaScript. The book was structured very well, with each chapter flowing into the next, and the samples either getting rewiritten or modified using the next topic (a great example of TIMTOWTDI). There are great sections on syntax for both OO and FO users, and the indexing and TOC are very well laid out for using this book as a great reference.

Wiley is not usually my first choice in publishers of Tech books, however they do supply very good web resources for this one here.

All in all a wonderful intro to the CGI.pm module and to CGI itself.

In reply to Official Guide to programming with CGI.pm by Rex(Wrecks)

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, 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, 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.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others contemplating the Monastery: (2)
    As of 2020-06-05 00:31 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      Do you really want to know if there is extraterrestrial life?



      Results (35 votes). Check out past polls.

      Notices?