Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( [id://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

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-20 03:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found