HN Books @HNBooksMonth

The best books of Hacker News.

Hacker News Comments on
Effective Perl Programming: Ways to Write Better, More Idiomatic Perl (Effective Software Development Series)

Joseph Hall, Joshua McAdams, Brian Foy · 3 HN comments
HN Books has aggregated all Hacker News stories and comments that mention "Effective Perl Programming: Ways to Write Better, More Idiomatic Perl (Effective Software Development Series)" by Joseph Hall, Joshua McAdams, Brian Foy.
View on Amazon [↗]
HN Books may receive an affiliate commission when you make purchases on sites after clicking through links on this page.
Amazon Summary
The Classic Guide to Solving Real-World Problems with Perl―Now Fully Updated for Today’s Best Idioms! For years, experienced programmers have relied on Effective Perl Programming to discover better ways to solve problems with Perl. Now, in this long-awaited second edition, three renowned Perl programmers bring together today’s best idioms, techniques, and examples: everything you need to write more powerful, fluent, expressive, and succinct code with Perl. Nearly twice the size of the first edition, Effective Perl Programming, Second Edition, offers everything from rules of thumb to avoid common pitfalls to the latest wisdom for using Perl modules. You won’t just learn the right ways to use Perl: You’ll learn why these approaches work so well. New coverage in this edition includes Reorganized and expanded material spanning twelve years of Perl evolution Eight new chapters on CPAN, databases, distributions, files and filehandles, production Perl, testing, Unicode, and warnings Updates for Perl 5.12, the latest version of Perl Systematically updated examples reflecting today’s best idioms You’ll learn how to work with strings, numbers, lists, arrays, strictures, namespaces, regular expressions, subroutines, references, distributions, inline code, warnings, Perl::Tidy, data munging, Perl one-liners, and a whole lot more. Every technique is organized in the same Items format that helped make the first edition so convenient and popular.
HN Books Rankings

Hacker News Stories and Comments

All the comments and stories posted to Hacker News that reference this book.
It's dusty, but I can't throw it away.

Effective Perl Programming.*

A long time ago, when I was a college kid with tons of free time, I'd sit for hours at Borders* or Barnes & Noble and just read computer books. God bless those employees for never kicking a 20-something poor kid out who lived on free coffee refills, yet never bought books.

At the time, Perl was more significant. Something about its syntax made sense, even though nowadays I cringe at it. Though Python is worse, in a different way...

A decade later, and I still sometimes need to spit out the results of a bunch of commands, iterate through them with some regex, format it, etc. Perl became the internet's 'duct-tape' for a reason.

[1] https://www.amazon.com/Effective-Perl-Programming-Idiomatic-...

[2] https://dealbook.nytimes.com/2011/02/16/borders-files-for-ba...

The book that really helped me out the most with Perl was "Effective Perl Programming" (aka "Silver Ball" due to the original cover). Here's a link: http://www.amazon.com/Effective-Perl-Programming-Idiomatic-D...

The thing I liked most about that book was that it really helped me get a grasp on Perl idioms and start writing decent, readable Perl code. The thing you'll find out quickly about Perl is that it can be much easier to write than it is to read. I've written more than my fair share of Perl code which I've let rot for a while, tried coming back and reading and been left scratching my head.

Two excellent books I can recommend for someone working with legacy Perl:

Perl Medic (Peter J. Scott) - http://amzn.com/0201795264 Effective Perl Programming (Joseph N. Hall, Joshua A. McAdams, brian d foy) - http://amzn.com/0321496949

Besides those, having a good reference to the language is also essential. For example, I keep Perl In a Nutshell close by, even though I almost always just search http://perldoc.perl.org/ when I need that info.

HN Books is an independent project and is not operated by Y Combinator or Amazon.com.
~ yaj@
;laksdfhjdhksalkfj more things
yahnd.com ~ Privacy Policy ~
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.