Perl tutorial web pages/books

jdport

Senior member
Oct 20, 2004
710
0
71

Hello,

I recently accepted a new job offer, and it sounds like I'll need a lot of perl scripting ability. I know enough perl to get by, I've been modifying and working on shell scripts for long enough but it's very rare I actually have to write anything from scratch and I need to give myself a crash course to get myself up to snuff with perl before I start. Don't want to look bad on my first day :)

Anybody have recommended books and/or web sites for me cram from over the next couple of weeks? I do have the O'Reilly book "programming Perl" that I plan on digging through but if anybody knows any others that might be better for this task I'm open for suggestions!

Thanks in advance!
 

esun

Platinum Member
Nov 12, 2001
2,214
0
0
"Programming Perl" is an excellent reference. I haven't read many Perl books but that is definitely a good one.

As for things to write...well, you can do almost anything in Perl. Make sure you're comfortable with the DBI package, since you'll probably use it at some point. If you're doing web programming, then the CGI package is obviously necessary. Honestly, I'd just pick a simple (but not too simple) application and write it--it's the best way to learn.

Hey, here's a good one: write a Sudoku solver in Perl. You'll probably have to use hash references a lot, which are good to work with if you haven't used them often. Stuff like that is fun to do and not very hard. BTW, two sites you simply must know of (and probably do already):

http://perldoc.perl.org
http://cpan.org
 

geecee

Platinum Member
Jan 14, 2003
2,383
43
91
Originally posted by: DivideBYZero
If you download the active state perl distro it comes with a crapton of examples and docs.

HERE
There is some excellent stuff in there.

Also, Perl by Example (Author: Quigley, Pub: Prentice Hall) was a book I always had lying around.

EDIT: Oops. Need to put a space after the :'s or (Author: Quigley Pub: Prentice Hall) turns into (Author:Quigley Pub:prentice Hall)
 

Daverino

Platinum Member
Mar 15, 2007
2,004
1
0
I highly recommend the Perl Cookbook as well. Not a reference like Programming in Perl, but it will answer most of your questions about getting practical things done very quickly.