
Ebook Info
- Published: 2006
- Number of pages: 298 pages
- Format: PDF
- File Size: 2.06 MB
- Authors: chromatic
Description
With more than a million dedicated programmers, Perl has proven to be the best computing language for the latest trends in computing and business. While other languages have stagnated, Perl remains fresh, thanks to its community-based development model, which encourages the sharing of information among users. This tradition of knowledge-sharing allows developers to find answers to almost any Perl question they can dream up.And you can find many of those answers right here in Perl Hacks. Like all books in O’Reilly’s Hacks Series, Perl Hacks appeals to a variety of programmers, whether you’re an experienced developer or a dabbler who simply enjoys exploring technology. Each hack is a short lesson–some are practical exercises that teach you essential skills, while others merely illustrate some of the fun things that Perl can do. Most hacks have two parts: a direct answer to the immediate problem you need to solve right now and a deeper, subtler technique that you can adapt to other situations. Learn how to add CPAN shortcuts to the Firefox web browser, read files backwards, write graphical games in Perl, and much more.For your convenience, Perl Hacks is divided by topic–not according toany sense of relative difficulty–so you can skip around and stop at any hack you like. Chapters include:Productivity HacksUser InteractionData MungingWorking with ModulesObject HacksDebuggingWhether you’re a newcomer or an expert, you’ll find great value in Perl Hacks, the only Perl guide that offers somethinguseful and fun for everyone.
User’s Reviews
Editorial Reviews: About the Author chromatic manages Onyx Neon Press, an independent publisher. His areas of expertise include agile software development, language design, and virtual machines for dynamic languages. He is also a published novelist. His books include The Art of Agile Development and Masterminds of Programming.Dr. Damian Conway is a Senior Lecturer in Computer Science and Software Engineering at Monash University (Melbourne, Australia), where he teaches object-oriented software engineering. He is an effective teacher, an accomplished writer, and the author of several popular Perl modules. He is also a semi-regular contributor to the Perl Journal. In 1998 he was the winner of the Larry Wall Award for Practical Utility for two modules (Getopt::Declare and Lingua::EN::Inflect) and in 1999 he won his second “Larry” for his Coy.pm haiku-generation module.Curtis (Ovid) Poe is a CPAN author, a TPF Steering Committee Member, and the TPF Grant Committee Secretary. He likes long walks on the beach and single malt scotch, but hates writing bios. Ovid writes for Perl.com too.
Reviews from Amazon users which were colected at the time this book was published on the website:
⭐In a time when new computer languages are dime a dozen, perl unquestionably retains its beauty. Keeping with the philosophy of perl – there is more than one way to do it – the book shows you ingenious ways to work with this powerful language. This is a true hacks book and meant mostly for the advanced user. Before reading this book, I didn’t even realize what I didn’t know and I rate myself just short of contributing to CPAN. Even if you have read all the popular books – Perl Programming, Perl Best Practices etc. you’ll still find a lot of gems.Simply put if you like perl, you’ll love this book. Welcome to the next level…
⭐Imagine that chromatic were to write a professional once-a-week blog for the span of about two years, with edits and ideas from Damian Conway and Curtis “Ovid” Poe, focusing on cool Perl tricks. The result would look very similar to the Perl Hacks book.The book is filled with lots of small, self-contained gems. I’ve put a few of these ideas into immediate practice, like Smart::Comments. Other ideas solve problems that I didn’t think had any simple solutions, like reading files backwards, which I’ll use the next time I need it. Many of their ideas are curriosities, the sorts of things that are kinda cool but I never think I’ll need like vi and emacs hacks, or database stuff; still, knowing that they are there and where to read more makes me much more likely to use those tools if ever the need arises.In all I’m very pleased with my purchase and I would recommend it to others. You’re almost certain to find a few ideas that you can put into immediate use and many ideas that you’ll bookmark mentally so you can use them in the future.
⭐Do not buy this book. Not really worth it. I think the perl black book would be better and teach you more. There are some good hints in this book but you could find the same things on stackoverflow.com.
⭐To be completely honest, this isn’t the book I thought it was going to be. Most O’Reilly Hacks books start off pretty simply and in a few chapters take you to the further reaches of their subject area. Whilst this is a great way to quickly get a good taste of a particular topic, it has the occasional disadvantage that for subjects that you know well, the first couple of chapters can seem a bit basic. As I know Perl pretty well, I thought I would be on familiar ground for at least half of the book.I was wrong.Oh, it started off easily enough. Making use of various browser and command line tools to get easy access to Perl documentation, creating some useful shell aliases to cut down typing for your most common tasks. “Oh yes”, I thought smugly to myself, “I know all that”. But by about Hack 5 I was reading about little tweaks that I didn’t know about. I’d start a hack thinking that I knew everything that the authors were going to cover and end up frustrated that I was on the tube and couldn’t immediately try out the new trick I had just learnt.It’s really that kind of book. Pretty much everyone who reads it will pick up something that will it easier for them to get their job done (well, assuming that their job involves writing Perl code!) And, of course, looking at the list of authors, that’s only to be expected. The three authors listed on the cover are three of the Perl communities most respected members. And the list of other contributers reads like a who’s who of people who are doing interesting things with Perl – people whose use.perl journals are always interesting or whose posts on Perl Monks are worth reading before other people’s. Luckily, it turns out that all these excellent programmers can also explain what they are doing (and why they are doing it) very clearly.Like all books in the Hacks series, it’s a little bitty. The hacks are organised into nine broad chapters, but the connections between hacks in the same chapter can sometimes be a bit hard to see. But I enjoyed that. In places it made the book a bit of a rollercoaster ride. You’re never quite sure what is coming next, but you know it’s going to be fun.In fact, the more I think about it, the more apt the fairground analogy seems. When you ask Perl programmers what they like about Perl, you’ll often hear “fun” mentioned near the top of the list. People use Perl because they enjoy it. And the authors’ enjoyment of Perl really comes through in the book. It’s obvious that they really wanted to show people the things that they thought were really cool.Although I did learn useful tips from the earlier part of the book, it was really the last three chapters that were the most useful for me. Chapter 7, Developer Tricks, had a lot of useful things to say about testing, Chapter 8, Know Thy Code, contains a lot of information on using Perl to examine your Perl code and Chapter 9, Expand Your Perl Foo was a grab-bag of obscure (but still useful) Perl tricks.So where does this book fit in to O’Reilly’s Perl canon? I can’t recommend it for beginners. But if you’re a working Perl programmer with a couple of years’ experience then I’d be very surprised if you didn’t pick up something that will be useful to you. And don’t worry about it overlapping with other books in your Perl library – offhand I can’t think of anything in the book that has been covered in any previous Perl book.All in all, this would make a very useful addition to your Perl library.
⭐There are 50 good hacks in this book. You’ll learn new things about Perl, and about programming in general.And there are 51 bad hacks in this book. Maybe a book with 50 hacks wouldn’t sell so the author padded a little. Some of the hacks were so simple that they don’t deserve to be in here. Others are environment hacks, convoluted, contrived or stretch the language so far that they would make your Perl even more unmaitainable.The style is also a little annoying with every technique or CPAN module described as a “hack”, and a standard section called “hacking the hack”, even when there is nothing to add to the original “hack”.Once you have ripped out unnecessary, unfeasible and dangerously obfuscated hacks, you have a slim volume that will take a day to read.Maybe I’m being a little unfair. Maybe I’m just the wrong audience. More advanced programmers might need to mess with symbol tables or alias module names. For me, I just need to write working code that the next programmer can maintain. Perl is already a difficult to language to write well. If I ever join a project to find that a predecessor used some of these hacks then I’ll just have to start rewriting using conventional Perl.
⭐
Keywords
Free Download Perl Hacks: Tips & Tools for Programming, Debugging, and Surviving 1st Edition in PDF format
Perl Hacks: Tips & Tools for Programming, Debugging, and Surviving 1st Edition PDF Free Download
Download Perl Hacks: Tips & Tools for Programming, Debugging, and Surviving 1st Edition 2006 PDF Free
Perl Hacks: Tips & Tools for Programming, Debugging, and Surviving 1st Edition 2006 PDF Free Download
Download Perl Hacks: Tips & Tools for Programming, Debugging, and Surviving 1st Edition PDF
Free Download Ebook Perl Hacks: Tips & Tools for Programming, Debugging, and Surviving 1st Edition