What is the best book for beginning Perl? Where to learn Perl from the basics? I only know bash/Linux at an intermediate level. I would like to learn Perl because it has the same syntax on every operating system unlike some shell scripting languages.
|
closed as not constructive by Mark Trapp Dec 7 '11 at 22:11
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.
|
It sounds like you already know how to program and the canonical source for starting with perl for people who know a bit about programming is "Learning Perl". I think it's a pretty good introduction but it can be a little slow at times for an experienced programmer so you could also look into Apress books on perl, they are my second favorite publisher for introductory programming books. |
|||||||||||||
|
|
I think you could start with Beginning Perl by Simon Cozens. It gives a really nice introduction into whe world of Perl and it's available online for free. /It was written in 2000 and possibly might be little out of date so take a look at the Modern Perl by chromatic./ |
||||
|
|
|
I felt empowered by the seminal Perl Cookbook. (search for pdfs on the internet) Read it together with Learning Perl (for instance) when you need to deal with programming problems you need to solve. I also benefitted from reading randal schwartz' columns on stonehenge.com. He wrote them over 15 years for some computer magazines. An article usually starts with a small problem that he solves, usually with some clear and creative perl code, and some explanations along the way. The older columns are often easier to read (may be a bit outdated). Just skim a few. |
|||
|
|
|
I would start with It's not complete and it never gets into much detail but will give a brief overview over basic features and enables you to write simple Perl scripts within hours. |
|||
|
|
|
Randal Schwartz's Learning Perl is an excellent by-example introduction to Perl. Programming Perl (Wall/Christiansen/Orwant) and Perl Cookbook (Christiansen/Torkington) are two of the best-written computer science books I've ever seen. |
|||
|
|
|
|||
|
|
|
No-one has mentioned the Perl Pocket Reference, so I'll mention it here. Along with Learning Perl and Programming Perl, it forms the Trinity of Perl manuals, IMO. Also, see: http://perldoc.perl.org/perlbook.html for a list of canonical Perl texts. |
|||
|
|
|
If you're fairly adept at learning new languages, you should check out Data Munging with Perl. It starts with some simple problems and demonstrates "the Perl way" of dealing with them. It covers using Perl as opposed to learning it, but if you like learning by example this is a good book. |
|||
|
|