[SATLUG] CGI + perl :: Book Recommendations

Brian Brice bbrice at gmail.com
Tue Jan 2 15:15:30 CST 2007


On 1/2/07, twistedpickles <twistedpickles at gmail.com> wrote:
> I need to learn perl to make changes on a cgi script that interacts
> with a mysql database. Even though I have found some similarities
> between perl and what I've learned in php it was kind of overwhelming.
> Anyone out there have recommendations on a great book. Currently
> learning PHP not too difficult, other experience includes vbscript,
> ASP, css, and html.

Programming Perl, 3rd Edition, is the ultimate reference for anything
Perl.  Anything
dealing with its syntax and its library (only a little bit) can be
found there.  Learning Perl,
2nd Edition, is great for getting your feet wet for the first time and
getting familiar
with the language.

Perl's online documentation is great also, perldoc.  For example:
To see docs on the open function: perldoc -f open
To see docs on operators and their precedenec: perldoc perlop
To see docs on the File::Basename module: perldoc File::Basename

I've done a little bit of MySQL interaction with Perl with the DBI
module.  It's not too bad!
It's like using PHP's PEAR::DB.  Here's a small test I did just to
dump out info on tables
in a MySQL database: http://www.heapify.org/old/src/test-mysql.perl.html
(ugly, I know)


-- 
Brian Brice
http://www.heapify.org/


More information about the SATLUG mailing list