Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

comment on

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

This book was my first introduction to programming with Perl, which is good and bad (the book, that is). For a beginner, I'd cautiously recommend it. I was writing functional scripts almost immediatly with CGI 101. I learned quite a bit from this book and it got me excited about perl, but it's lacking in major areas.

On the good, it is very accessible and full of code examples. It does a good job describing regex to a complete beginner, has a short but good introduction to DBI and mySQL, and you really could learn enough from this book to make some pretty good CGI sites. I still find myself referring to some of it's chapters, specifically on date/time, cookies, strings, and regex.

On the bad, it taught me bad programming style that I now have to unlearn. She doesn't recommend using " -wT" in your scripts until the end of the book, and doesn't mention "use strict" at all (that I remember). This is especially a problem considering that I want to move a whole bunch of scripts into mod_perl, which is less forgiving with sloppy variables.

I'm sure there are better books for beginners out there (I have the O'Reilly CGI Programming book). However, CGI 101 got me excited very quickly about perl programming, which is a damn good thing. However, the bad programming style has hurt my coding somewhat.

In reply to CGI Programming 101 - Perl for the WWW by Hero Zzyzzx

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?

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

    How do I use this? | Other CB clients
    Other Users?
    Others taking refuge in the Monastery: (2)
    As of 2020-05-25 18:23 GMT
    Find Nodes?
      Voting Booth?
      If programming languages were movie genres, Perl would be:

      Results (146 votes). Check out past polls.