Elements of Programming with Perl Paperback – Oct 1 1999
Customers Who Bought This Item Also Bought
No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
Getting the download link through email is temporarily not available. Please check back later.
To get the free app, enter your mobile phone number.
Andrew L. Johnson's new Elements of Programming with Perl is titled in such close proximity to two classic texts--Strunk & White's Elements of Style and Kernighan & Plauger's Elements of Programming Style--as to beg comparison. Best not, and more is the pity.
Perl strives to be both a natural language like English and a structured language like C, but Johnson evidently does not see the value in writing a prescriptive book as the other "Elements of" authors have. Rather, he has written a review of basic Perl for the converted and initiated. But just as an inexperienced carver cannot learn good carving practice with neither a Swiss Army knife nor a chain saw, a neophyte coder cannot learn good programming with a tool that has been called the "Swiss army chain saw" of programming languages. Can anyone learn good programming style from Perl at all? Better we should learn style elsewhere and bring what we already know to the notoriously laissez-faire language.
Perl was developed by linguistic enthusiasts to model a natural language, viz., an idiom consisting of a redundant vocabulary, syntax, and grammar with flexible rules, learnable by example or trial and error. Awk programmers can convert awk scripts to Perl with a utility, then learn Perl by fathoming the output. But where is the centrality of cold, inflexible logic in the design of supportable code? The essential tension in Perl for programming beginners lies between the natural language aspects of Perl (redundancy and flexibility) and the crucial need for discipline in writing programs.
Johnson draws his hoe into this fertile terrain but ends up plowing old ground. He adopts a didactic voice and follows a predictable pedagogical path from programming illiteracy through technical proficiency. He introduces task groups--processing text, lists, input/output, modules, debugging--and stops at introductions to modules and object-oriented code.
The book is studded with examples, exercises, tips, and tricks gleaned from years of "speaking Perl," but it avoids being prescriptive, and his casual advice is sometimes disconcerting. He discusses white space in formatting code, but he breezes past error handling. He teaches recursion without warning that it is a support nightmare. Often he hides behind Perl's creed that "there is more than one way to do it" to avoid advocating what the newbies need: one better-than-average way to do it. Johnson cannot be both advocate of Perl and teacher of beginning programming, though he has tried: had his experiment been bolder, it would deserve wider attention within the Perl and computer science communities. --Peter Leopold
"I found the writing to be extremely interesting. The book covers a broad spectrum of Perl topics.the reader will find himself well-versed in the breadth of Perl. It definitely delivers. If I was to start learning Perl now I would be delighted to make this my first Perl book. It is extremely well-written and informative. I give it my highest recommendation." -- Java Metroplex User Group Web Site
...the best Perl book for neophytes that I've found. ...Make no bones about it, this book is good. Damn good. -- Nathan Torkington, The Perl Journal
If you are seeking a book to help you learn programming... this would be an excellent place to begin. -- Ed's Internet Book Reviews
Johnson has a gift for notations and diagrams, and his depictions of variables, references, and scope are unusually clear... -- Ken Bandes, The Perl Journal
an extremely ambitious ...book that not only introduces programming and its concepts using Perl but that introduces an orderly software... -- Sam Hobbs, The Perl Journal
Top Customer Reviews
Elements of Programming With Perl was the book I really needed, and I don't think there is another book out there that meets the same need.
If you are a self taught perl programmer, you should read this book, if not for your own sake, for the sake of the other people that have to deal with your code after you!
I won't try and say that the book is perfect because it's not, but it is excellent, and one of a kind.
It also provides a good introduction to object-oriented perl, and an ideal primer before moving on to the other Manning publication Object Oriented Perl by Damian Conway (which I also recommend).
Have fun programming perl :-)
(b.t.w. take no notice of the Amazon review, it completely takes the book out of context, the other reviews testify to the book's quality. Great book, thanks Andrew!)
This book should be thought of as an initial stepping stone on the path to Perl knowledge , so its not as encyclopedic as say the famous Camel book(Programming Perl). After going through this book, doing the exercises, reading and posting on the authors website, you will be very well prepared for more advanced topics in Perl. After this book, I picked up "Object Oriented Perl" by Damian Conway (from same publishing company) and I had no problem at all thanks to the fine intro this book provided me.
The only criticism I would have is that, because of the narrative style, the book does not facilitate easy reference, and the index is poor, so if you need to find a nice piece of code you remember reading, you might have to dig a while.
I have no programming background other than the fact that I've picked up and tried reading several books on the subject of programming in Perl. (I do know HTML and I am a website developer. I just thought I would tell you this so you would realize where I might be coming from.)
I have purchased most of the books on the market that relate to getting started as a new programmer using Perl. Everything from 'Learn Perl in 24 Hours' .. to the Camel books (which are great for refenece purposes), etc. And if you've tried them, and felt frustrated, let me explain what made this book different for me.
First of all, this book is not written 'perfectly' clear. But then ... I haven't found one that is. But, what makes this book special is the offer and accessibility of the AUTHOR to each of the readers who purchase the book. The author, Andrew Johnson, is everything you could want in a teacher and coach.
With that being said, ... learning to program is not easy. (So, expect to work hard, read a lot, and practice writing code.) And, if you had your preference, you'd probably rather be in a classroom where you could ask questions of your teacher everytime you didn't understand something that was going on.
THAT IS WHAT MAKES THIS BOOK (or should I say TUTORIAL SYSTEM for learning Perl) THE BEST!
Andrew Johnson acts like your teacher and personal coach. He does an excellent job of laying out the information in the book ... as if you were in a classroom. Then, as you read through each chapter ... you will (and let me repeat ... YOU WILL) have questions.
I must say, I go to his online forum often, where I can ask anything I want (relating to the book) that I have a question on.Read more ›
Most recent customer reviews
This book does a good job of teaching "how to program" to a person with little or no experience in programming. I think it is one of the better books for green programmers. Read morePublished on Jan. 9 2003 by William Perry
I recently got a job at a telecoms company because of my experience with linux. I have no experience whatsoever in programming and they knew that and I was encouraged to learn... Read morePublished on June 16 2002
Funny how different opinions people may have about a book here. I bought this book having read a number of praising comments and tried to use the book for my needs (elements of... Read morePublished on March 19 2002
I started a new job after college in the field of bioinformatics and have to learn Perl because of its wide use. Read morePublished on June 12 2001 by Joshua Orvis
I purchased this book, and like most - there are parts of it that are confusing. But, Andrew (the author) provides a forum by which he is there to answer all your questions. Read morePublished on Feb. 3 2001 by Gary M. Gordon
Four or five other reviewers said this book "fills the gaps" between the O'Reilly books (Learning Perl & Programming Perl). Read morePublished on June 13 2000 by Anthony Boyd
I own all the O'Reilly Perl books, and this definitely filled the gap between the Llama and the Camel. Read morePublished on May 16 2000 by Scott K Purcell