CGI is a protocol to allow executable programs to be run and spit out a web page. You can run Java, C, C++, Python, PHP, COBOL, FORTAN, LISP, Assembler, and whatever other language you know as a CGI program. (Although some languages are better for the purpose then others, and some languages (like PHP and Java (JSP)) have built in server site scripting, so you don't need to run them as a CGI program)

If I were you I would seriously consider cancelling your order and getting a subscription to Safari. It'll probably be cheaper, and if you don't like a book or you think you've read enough about something already, you can just skip it.

Also, all CGI.pm does is provide functions to spit out HTML. You should make sure that your HTML and Perl (and CSS) is strong, and then you should work with the basics of CGI programs. Roll your own without using CGI.pm as a learning tool, and then try using it, and learn the strengths and weaknesses. (For instance, a lot of nested tables can make CGI.pm code look like an obfu. However, if you know some CSS you won't need to nest tables (unless you're targeting non CSS compliant browsers)). Also, check out HTML::Template


Want to support the EFF and FSF by buying cool stuff? Click here.

In reply to Re: Perl CGI and books by Vautrin
in thread Perl CGI and books by jfroebe

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.