AnyBook4Less.com | Order from a Major Online Bookstore |
![]() |
Home |  Store List |  FAQ |  Contact Us |   | ||
Ultimate Book Price Comparison Engine Save Your Time And Money |
![]() |
Title: Perl: A Beginner's Guide by R. Allen Wyke, Donald B. Thomas ISBN: 0-07-212957-3 Publisher: McGraw-Hill Companies Pub. Date: 26 December, 2000 Format: Paperback Volumes: 1 List Price(USD): $29.99 |
Average Customer Rating: 3.57 (7 reviews)
Rating: 4
Summary: Better than some reviews give it credit for
Comment: I have the seond edition of Learning Perl and find that this book is not only far more accessible, but covers things that are useful for beginners that Learning Perl does not. The DBI for instance.
At the price this title is going for used it is a bargain.
Rating: 2
Summary: good bad and ugly
Comment: good: very simple treatment of the perl language. you can learn to program some relatively simple stuff if you haven't done any programming in 15 years (like me).
bad: the book is ATROCIOUSLY edited. i find at least one significantly confusing typo every few pages. if you look on the bright side, you can use these mistakes to hone your skills on finding scripting errors, but in general, it seems to reflect a lack of care in putting the book together.
ugly: this is for an absolute beginner who's willing to work through all of the typos. you will have to shell out additional $$ to begin to use perl in any productive manner.
Rating: 1
Summary: Poor Examples, and Full of Typos
Comment: I am always on the lookout for Perl books from sources other than O'Reilly & Associates. Since Larry Wall works for them, they are The Authorities on the language, no question. But I've often felt that they know the language perhaps too well; they are so familiar with its subtleties that they don't do as good a job of explaining the basics as they might.
I consider myself to be beyond the novice stage in Perl programming, but far from an expert, so I was very interested in what Perl: A Beginner's Guide had to say.
It is a maddening book. I really would like to say something positive about it, but it is so full of typos, and so haphazardly put together, that I just can't.
The slipshod feeling shows right from the beginning. After explaining how to run the traditional "Hello, World" program, the authors explain the chomp() function, which removes a newline character from the end of an input line. We're then given a Note, with a box around it, to clear up a key point:
"Perl also has a function called chomp(), which removes the last character of a string. Unlike chomp(), chomp() removes any character, no matter what it is, whereas chomp() only remove the character if it's a newline character. When you only need to remove a trailing newline character, you should always use chomp(), because it's safer."
Got that?
Sure, you know that they're talking about chop() versus chomp(), and this is only a typo. But how long will it take the beginner who's reading this book to figure that out?
On page 59 the authors introduce Perl's comparison operators, including the = = operator inherited from C, and the source of much confusion among novices and experts alike. Twenty-three pages later we finally get an example of one of these operators, and it's wrong:
$a = 20;
if( $a = 15){
print "a is equal to 15\n";
}
else....
This example, of course, will print "a is equal to 15" until the cows come home. Or until the reader throws the book aside in disgust.
I could go on, but you get the point. The problem is not only that the book is full of small errors like the ones I've cited; the problem is that their presence makes you mistrust everything the book says, even when it's correct.
A more subtle issue, and one that's harder to get a handle on, is the fact that the book's examples are, for the most part, trivial. You get the feeling that the authors, faced with the need to come up with an example to illustrate the feature of the language they were discussing at the moment, just wrote down whatever popped into their heads. The examples illustrate the point, but they don't take on the more important job of helping the reader to begin to think like a Perl programmer.
For example, in the section on regular expressions, there are a series of examples that use this syntax:
if ($result = $string1 =~ /Hello/){
This example is used over and over, and yes, it works. But, since we never make use of $result anywhere else, a Perl programmer would simplify this to:
if ($string1 =~ /Hello/){
Moreover, in the real world, you'd be more likely to see something like:
if (/Hello/){
-- which makes use of the implied $_ variable. Although an awareness and understanding of the many $x variables are key to understanding Perl's often-cryptic syntax, references to them are sprinkled haphazardly throughout the book; nowhere are they laid out in a logical, orderly fashion.
As I said at the beginning, I really would like to like this book. The authors obviously have gone out of their way to try to write a manual that makes Perl approachable for beginners. What they've got here is a good first draft; but it's not ready for publication.
![]() |
Title: Learning Perl, Third Edition by Randal L. Schwartz, Tom Phoenix ISBN: 0596001320 Publisher: O'Reilly & Associates Pub. Date: 15 July, 2001 List Price(USD): $34.95 |
![]() |
Title: Perl Developer's Dictionary by Clinton Pierce ISBN: 0672320673 Publisher: Sams Pub. Date: 18 July, 2001 List Price(USD): $39.99 |
![]() |
Title: Sams Teach Yourself Perl in 24 Hours (2nd Edition) by Clinton Pierce ISBN: 0672322765 Publisher: Sams Pub. Date: 15 January, 2002 List Price(USD): $29.99 |
![]() |
Title: Core Perl by Reuven Lerner, Reuven M. Lerner ISBN: 0130351814 Publisher: Prentice Hall PTR Pub. Date: 21 December, 2001 List Price(USD): $44.99 |
![]() |
Title: Programming Perl (3rd Edition) by Larry Wall, Tom Christiansen, Jon Orwant ISBN: 0596000278 Publisher: O'Reilly & Associates Pub. Date: 01 July, 2000 List Price(USD): $49.95 |
Thank you for visiting www.AnyBook4Less.com and enjoy your savings!
Copyright� 2001-2021 Send your comments