Effective Perl Programming: Writing Better Programs With Perl
| 1997-12-30 00:00:00 | | 0 | Perl
Effective Perl Programming is a gem of a Perl book. Its author, Joseph Hall, is a well-known Perl instructor and frequent poster on the seminal comp.lang.perl.misc newsgroup. The book's technical editor is none other than Randal Schwartz, noted Net personality, enigmatic author of Learning Perl, and contributor to Programming Perl.
Hall has distilled his years of Perl experience into a book for Perl programmers that is both fluid and fun to read. It's somewhat like reading the Perl FAQ; even when you think you know everything, there's so much you don't know.
Effective Perl Programming has a clear layout: the text is easy on the eyes and the monospaced font makes a clear distinction between backticks and single quotes. Hall uses his PEGS (PErl Graphical Structures) notation to show the difference between Perl's different types of data structures and how everything ties together.
Packed with great examples and code snippets, this book is an excellent source of tips and tricks to make your Perl programs faster and easier to read. You'll also find a strong section on using the Perl debugger to improve your Perl programming skills. In yet another section, Hall walks the reader through the creation of a complete XS module that can boost the performance of array shuffling eight-fold. All in all, this is a great book for programmers who want to move beyond plain, verbose Perl toward a more succinct and powerful coding style.
User review
Right ways to write Perl
A language reference book that's a page-turner? Yes, it can happen, and Hall and Schwartz have done it. At least one right way to almost anything in Perl that you might want to do, and then some. Clear, concise, no-nonsense guidance and explanations. What else can I say -- I wish I had a book like this for C!
User review
great book
this book is `MUST HAVE` Perl book!
It gives you great idea to simply your code and algorithm.
User review
A fast track to idiomatic Perl
This is a good book for getting a handle on intermediate level Perl and its idiomatic uses, arranged as a series of 60 'items' -- the debt to Effective C++ is obvious. This is not a tutorial on Perl, you should at least be at the level of The Llama and ideally be somewhat acquainted with the material covered in The Alpaca, too. Although similar ground is covered in this book to the latter, I would treat this book as a way to shore up your previous knowledge, rather than learning it for the first time.
The content holds up surprisingly well for 1997. The opening chapters cover a lot of the oddities and gotchas of life with Perl, such as slicing, the various connotations of undef, a persuasive defence of $_ and where + is necessary to disambiguate. The final 'miscellany' chapter also contains useful information in a similar vein. And this also appears to be one of the first books to detail the now famous Schwartzian transform and the Orcish manoeuvre for sorting, so it has a certain historical appeal.
Equally, the chapters on debugging, references, regular expressions and object oriented programming are also pretty good. It's just that there are now several other books that cover these topics. If you only want one book in this style, Perl Best Practices bestrides the field like a colossus, being more comprehensive, and better written. Not that there's anything wrong with the writing here, it's never boring as such, but it does feel flat.
Nonetheless, Effective Perl Programming does the job it sets out to do fairly well, and I find you can never have too much help in explaining the nooks and crannies of idiomatic Perl, so this is still worth getting hold of, particularly because you can find it at an extremely reasonable price.
User review
Terrific Book
I'm fairly new to Perl (but not to programming) and this book is great. I really like the format of the code examples, and there's a lot of wisdom here on writing good, idiomatic Perl.
User review
Great Perl Book
This book shows you some efficient and interesting ways of using Perl. It is very informative and I often use it when I want to see if there is a better way of doing something.