$48.99$48.99
FREE delivery February 6 - 12
Ships from: Basi6 International Sold by: Basi6 International
$6.40$6.40
FREE delivery February 5 - 10
Ships from: ThriftBooks-Atlanta Sold by: ThriftBooks-Atlanta
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the authors
OK
Effective Perl Programming: Writing Better Programs With Perl Subsequent Edition
There is a newer edition of this item:
$2.41
(38)
Only 1 left in stock - order soon.
Purchase options and add-ons
- ISBN-100201419750
- ISBN-13978-0201419757
- EditionSubsequent
- PublisherAddison-Wesley Professional
- Publication dateJanuary 1, 1998
- LanguageEnglish
- Dimensions7.5 x 0.75 x 9.5 inches
- Print length273 pages
Similar items that may deliver to you quickly
Editorial Reviews
Amazon.com Review
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.
From Library Journal
Copyright 1998 Reed Business Information, Inc.
From the Inside Flap
I used to write a lot of C and C++. My last major project before stepping into the world of Perl full time was an interpreted language that, among other things, drew diagrams, computed probabilities, and generated entire FrameMaker books. It comprised over 50,000 lines of platform-independent C++, and it had all kinds of interesting internal features. It was a fun project. It also took two years to write.
It seems to me that most interesting projects in C and/or C++ take months or years to complete. But it also seems to me that a whole lot of ideas that start out being mundane and uninteresting become interesting three-month projects when they are expressed in an ordinary high-level language.
This is one of the reasons why I originally became interested in Perl. I had heard that Perl was an excellent scripting language with powerful string handling, regular expression, and process control features. I learned Perl, and learned to like it, when I was thrown into a project in which most of my work involved slinging around text files. I quickly found myself spending hours writing Perl programs that would have taken me days or weeks to write in a different language. Who should read this book
Effective Perl Programming is a book of advice and examples. It derives from my experience as a Perl programmer and--especially--as a Perl instructor. The book is suitable for readers who have a basic understanding of Perl and a few months of practical experience programming in it. Because Effective Perl Programming is a guidebook, not a manual, readers will need access to a comprehensive reference. I recommend either the Perl man pages (freely available in many forms, including Unix man and HTML) or Programming Perl.
Although I use a lot of Unix-derived examples in this book, most of what appears here is not specific to Unix. I thought about including Win32 Perl and MacPerl examples but eventually decided that the book would have more integrity and consistency if it didn't stray from Perl's "native" operating system. I do encourage non-Unix developers to read Effective Perl Programming, or at least to give it a careful look. How and why I wrote this book
I've always wanted to be a writer. In childhood I was obsessed with science fiction. I read constantly, sometimes three paperbacks a day, and every so often, wrote some (bad) stories myself. In 1985, I attended the Clarion Science Fiction Writers' workshop in East Lansing, Michigan. Afterward, I spent a year or so occasionally working on short story manuscripts, but never published any fiction. (Not yet, anyway!)
Later on, when I had settled down into a career in software, I met Randal Schwartz. I hired him as a contractor on an engineering project and worked with him for over a year. Eventually he left to pursue teaching Perl full time. After a while, so did I.
In May 1996, I had a conversation with Keith Wollman at a developer's conference in San Jose. When we drifted onto the topic of Perl, he asked me what I would think of a book called Effective Perl. I liked the idea. Scott Meyers's Effective C++ was one of my favorite books on C++, and extending the series to cover Perl would obviously be useful. I couldn't get Keith's idea out of my head. With some help from Randal, I worked out a proposal for the book, and Addison-Wesley accepted it.
The rest--well, that was the fun part. I spent many 12-hour days and nights with FrameMaker in front of the computer screen, asked lots of annoying questions on the Perl 5 Porters list, posted many bug reports to the same list, looked through dozens of books and manuals, wrote many, many little snippets of Perl code, and drank many, many cans of Diet Coke and Diet Pepsi. I even had an occasional epiphany as I discovered very basic things about Perl I had never realized I was missing. After a while, a manuscript emerged.
This book is my attempt to share with the rest of you some of the fun and stimulation I experienced while learning the power of Perl. I certainly appreciate you taking the time to read it, and I hope you will find it useful and enjoyable.
Joseph N. Hall
Chandler, Arizona 0201419750P04062001
From the Back Cover
Powerful and flexible, Perl has established itself as a premier programming language, especially as a tool for World Wide Web development, text processing, and system administration. The language features full support for regular expressions, object-oriented modules, network programming, and process management. Perl is extensible and supports modular, cross-platform development.
In Effective Perl Programming, Perl experts Joseph Hall and Randal Schwartz share programming solutions, techniques, pointers, rules of thumb, and the pitfalls to avoid, enabling you to make the most of Perl's power and capabilities.
The authors will help you develop a knack for the right ways to do things. They show you how to solve problems with Perl and how to debug and improve your Perl programs. Offering examples, they help you learn good Perl style. Geared for programmers who have already acquired Perl basics, this book will extend your skill range, providing the tactics and deeper understanding you need to create Perl programs that are more elegant, effective, and succinct. This book also speaks to those who want to become more fluent, expressive, and individualistic Perl programmers.
To help you design and write real-world programs, Effective Perl Programming includes:
- Perl basics
- Idiomatic Perl
- Regular expressions
- Subroutines
- References
- Debugging
- Usage of packages and modules
- Object-oriented programming
- Useful and interesting Perl miscellany
Numerous thought-provoking examples appear throughout the book, highlighting many of the subtleties that make Perl such a fascinating, fun, and powerful language to work with.
0201419750B04062001
About the Author
Joseph N. Hall is a software designer with interests in object-oriented languages, compilers, and graphical user interfaces. He teaches Perl and World Wide Web classes in association with Stonehenge Consulting, a leading provider of Perl Instruction.
0201419750AB04062001
Excerpt. © Reprinted by permission. All rights reserved.
I used to write a lot of C and C++. My last major project before stepping into the world of Perl full time was an interpreted language that, among other things, drew diagrams, computed probabilities, and generated entire FrameMaker books. It comprised over 50,000 lines of platform-independent C++, and it had all kinds of interesting internal features. It was a fun project. It also took two years to write.
It seems to me that most interesting projects in C and/or C++ take months or years to complete. But it also seems to me that a whole lot of ideas that start out being mundane and uninteresting become interesting three-month projects when they are expressed in an ordinary high-level language.
This is one of the reasons why I originally became interested in Perl. I had heard that Perl was an excellent scripting language with powerful string handling, regular expression, and process control features. I learned Perl, and learned to like it, when I was thrown into a project in which most of my work involved slinging around text files. I quickly found myself spending hours writing Perl programs that would have taken me days or weeks to write in a different language.
Who should read this book
Effective Perl Programming is a book of advice and examples. It derives from my experience as a Perl programmer and--especially--as a Perl instructor. The book is suitable for readers who have a basic understanding of Perl and a few months of practical experience programming in it. Because Effective Perl Programming is a guidebook, not a manual, readers will need access to a comprehensive reference. I recommend either the Perl man pages (freely available in many forms, including Unix man and HTML) or Programming Perl.
Although I use a lot of Unix-derived examples in this book, most of what appears here is not specific to Unix. I thought about including Win32 Perl and MacPerl examples but eventually decided that the book would have more integrity and consistency if it didn't stray from Perl's "native" operating system. I do encourage non-Unix developers to read Effective Perl Programming, or at least to give it a careful look.
How and why I wrote this book
I've always wanted to be a writer. In childhood I was obsessed with science fiction. I read constantly, sometimes three paperbacks a day, and every so often, wrote some (bad) stories myself. In 1985, I attended the Clarion Science Fiction Writers' workshop in East Lansing, Michigan. Afterward, I spent a year or so occasionally working on short story manuscripts, but never published any fiction. (Not yet, anyway!)
Later on, when I had settled down into a career in software, I met Randal Schwartz. I hired him as a contractor on an engineering project and worked with him for over a year. Eventually he left to pursue teaching Perl full time. After a while, so did I.
In May 1996, I had a conversation with Keith Wollman at a developer's conference in San Jose. When we drifted onto the topic of Perl, he asked me what I would think of a book called Effective Perl. I liked the idea. Scott Meyers's Effective C++ was one of my favorite books on C++, and extending the series to cover Perl would obviously be useful. I couldn't get Keith's idea out of my head. With some help from Randal, I worked out a proposal for the book, and Addison-Wesley accepted it.
The rest--well, that was the fun part. I spent many 12-hour days and nights with FrameMaker in front of the computer screen, asked lots of annoying questions on the Perl 5 Porters list, posted many bug reports to the same list, looked through dozens of books and manuals, wrote many, many little snippets of Perl code, and drank many, many cans of Diet Coke and Diet Pepsi. I even had an occasional epiphany as I discovered very basic things about Perl I had never realized I was missing. After a while, a manuscript emerged.
This book is my attempt to share with the rest of you some of the fun and stimulation I experienced while learning the power of Perl. I certainly appreciate you taking the time to read it, and I hope you will find it useful and enjoyable.
Joseph N. Hall
Chandler, Arizona
0201419750P04062001
Product details
- Publisher : Addison-Wesley Professional; Subsequent edition (January 1, 1998)
- Language : English
- Paperback : 273 pages
- ISBN-10 : 0201419750
- ISBN-13 : 978-0201419757
- Item Weight : 1.1 pounds
- Dimensions : 7.5 x 0.75 x 9.5 inches
- Best Sellers Rank: #9,912,878 in Books (See Top 100 in Books)
- #336 in Perl Programming
- #1,016 in Object-Oriented Software Design
- #3,834 in Object-Oriented Design
- Customer Reviews:
About the authors
Discover more of the author’s books, see similar authors, read book recommendations and more.
Discover more of the author’s books, see similar authors, read book recommendations and more.
Customer reviews
- 5 star4 star3 star2 star1 star5 star60%16%23%0%0%60%
- 5 star4 star3 star2 star1 star4 star60%16%23%0%0%16%
- 5 star4 star3 star2 star1 star3 star60%16%23%0%0%23%
- 5 star4 star3 star2 star1 star2 star60%16%23%0%0%0%
- 5 star4 star3 star2 star1 star1 star60%16%23%0%0%0%
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews right now. Please try again later.
- Reviewed in the United States on May 18, 2000I've been using Perl casually for a few years now, but when I first got this book six months ago, I sort of skimmed through it and didn't find anything too interesting. But when I started doing a few Perl projects, I kept thinking, "Hey, didn't that book say something about a better way to do this?" So I'd look it up, and an elegant solution to my problem would be there. It's not that I couldn't have done it without the tip, because as all Perl programers know, "There's More Than One Way To Do It", but it taught me a cleaner way than I would have done otherwise.
Most tips are no longer than a few pages, and they are neatly organized by topic ("Regular Expressions", "Subroutines", etc.) in the index. Highly recommended for the semi-experienced Perl programmer who is looking to polish their programming skills.
- Reviewed in the United States on January 25, 2004There isn't realy anything wrong with this book per se. It does have some good ideas for Perl programming.
I just didn't find it very interesting or even that useful. I stopped reading half way through.
- Reviewed in the United States on September 21, 2000This is an amazing book. It will deepen your understanding of Perl and give you tools you can use to become a power programmer. I use it in two ways: as a quiet study text, and as a reference for particular topics. The sorting section has been particularly useful for me.
Hats off to the authors for making a unique contribution to the Perl literature.
- Reviewed in the United States on July 16, 2007This 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.
- Reviewed in the United States on February 25, 2007I'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.
- Reviewed in the United States on November 15, 2008A 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!
- Reviewed in the United States on December 30, 2004Well, even though I rate this book only 3 stars, I do think it belongs to the shelf of any serious Perl programmer. (Of course, don't just let it sit there; read it!) I think the emphasis here is it's useful only for the *serious* Perl person, as it contains lots of in-depth discussion on the nitty-gritty details of Perl's idiosyncratic personalities.
The reason I don't like the book as much as I thought I would is things are not explained clearly much of the time. Take the chapter on references for example. While the authors include lots of examples, the explanation of how nested references work is just confusing. Granted, this is a nasty concept to grasp, but I expected something clearer. Instead they just say "oh this looks ugly", which is not helpful. BTW, if you are pulling your hair out over references like I am, the Dumper pragma (not the dump function) is extremely helpful. (Unfortunately, it's not mentioned in this book, nor in the camel book).