Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Modern Perl 2011-2012 Edition

by bms (Monk)
on Mar 07, 2012 at 20:12 UTC ( #958363=bookreview: print w/replies, xml ) Need Help??
Order Modern Perl 2011-2012 Edition

Item Description: Modern Perl is suitable for programmers of every level. It's more than a Perl tutorial—only Modern Perl focuses on Perl 5.12 and 5.14, to demonstrate the latest and most effective time-saving features.

Review Synopsis: Modern Perl focuses on more than the Perl language. It begins with the Perl community. It's like, "Here's Perl" and then, "This is how you get, how you get to Perl Street". A unique and refreshing read.


The newest version of Modern Perl is another great installment in the series written by chromatic. If you've read the first edition of Modern Perl, than you know that it is unlike the standard slew. While books such as the O'Reilly Perl series(learning this, programming that) focus mainly on the language, Modern Perl looks at Perl as a community. It shows some modern best practices and how to use Perl as it stands today. I highly recommend Modern Perl 2011-2012 edition to anyone who uses Perl. It shows how to capitalize on Perl's strengths and how to pave over some of it's weaknesses.


Modern Perl focuses on more than the Perl language. Right off the bat it points out the Perl community. It's like, "Here's Perl" and then, "This is how you get, how you get to Perl Street". Very refreshing as the Perl community is a big a part of what makes Perl great. In my opinion, every Perl book should briefly explain CPAN and the Perl community briefly. With a focus on using modern Perl features and best practices, Modern Perl gives a lot of interesting and important information regarding writing maintainable Perl.

The first two chapters focus on Perl the entity. The power of CPAN, the community, and the philosophy are flaunted and displayed in these introductory chapters. These chapters deserve at least a skim. Interesting stuff.

Chapters three, four, five, and six cover Perl the language. Everything from scalars to loops to regular expressions. Everything is kept nice and brief with some idioms and other nice modern practice spice sprinkled all about. Again, worth a read. If nothing else, you won't be oblivious to alternate view points.

Chapter seven is where we hit where Modern Perl begins to excel. This is the chapter that shows how modern OOP is implemented in Perl in a nice way using Moose. This is essentially a solid base and jumping point for diving into larger Perl projects. I really liked this chapter. It was short and sweet. Peppered with very nice illustrative snippets. Just a very snappy chapter that will make Moose seem very intriguing and cause Perl OOP to not feel like such a chore.

Chapter eight is a testicular kick of useful information. It basically goes over a lot of best practices. It is chock full of useful tips and tidbits about writing maintainable Perl code. Definitely worth checking out. In my opinion, chapter 8 should be a requirement to download Perl.

Chapter nine gives useful information in using Perl in the large. Testing, modules, distribution, and a lot more. If you want to take your Perl to a larger scale, you should definitely read, study, and internalize this chapter.

Chapter ten goes over the wonders of Perl idioms and the super globals, the variables that are not scoped to any package or file. Obviously, a good read. A bit dry, but worth a read. It's really short after all.

Chapter eleven dances with the hilarious world of worst practices. What to avoid. What not to do. I found some of this mildly entertaining. Kind of like Jewish humor... At any rate, it goes great with chapter eight. And since that rhymes, you know it's true.

Finally, chapter twelve goes over more "useful" tidbits. The title is "What's missing?" but covers a couple of pragmas and a couple incompatibilities between Perl versions and how to solve them. Not much going on in this chapter. Kind of lame and unnecessary, but it is what it is.


Outside of a few minor typos I noticed and chapter twelve, I really don't have anything negative to say about Modern Perl. However, I will say that it pushes the Modern::Perl module really hard. That's expected, but meh. Not my cup of tea. Some people love it though. Or, almost forgot. Did I mention, Modern Perl is available for free from it's website?

And of course, to see this post in all its glory, visit my blog

Replies are listed 'Best First'.
Re: Modern Perl 2011-2012 Edition
by Anonymous Monk on Mar 08, 2012 at 03:28 UTC

    If you've read the first edition of Modern Perl, than you know that it is unlike the standard slew.

    So what is new in the new edition?

    I see a new cover, more/indented bookmarks and maybe 18 new pages, but I haven't narrowed it down yet.

    By the TOC I see some sub-chapters have been reordered (and toc is indented), and I also notice the (code) font is bigger.

    I don't think there is any actual new content, is there?

    update: The changes are mostly cosmetic/typos/clarity/credits, see for yourself

    Still a good read/reference to jump into some good practices for programmers new to perl

      I don't think there is any actual new content, is there?

      The new features of 5.14 get some attention, and I removed some material that just didn't work in the first edition. It's about as dramatic an update as 5.14 is over 5.12.

        Ah. That makes sense. The content didn't change a whole lot, but it was more of an internal/bug fix than about adding a bunch of new features.

        Great analogy. I like it. Regardless, I still love this book. Maybe more than Eloquent Ruby...

        I would like to take this opportunity to thank you, chromatic, for making this excellent book available for free. Hopefully, by doing this, it will suffer the same fate as Paulo Coelho's book The Alchemist which sold 12 million print copies after he put a free version online.
      I agree with you. However I do thoroughly enjoy both. I hadn't done a review for the first edition, so I treated it like I would've the first. However, I do still think it's a great text. Not a vast improvement, but I love both editions regardless.
Re: Modern Perl 2011-2012 Edition
by jdporter (Chancellor) on Mar 08, 2012 at 15:03 UTC

    Spamming/shilling your blog is not an appropriate use of PerlMonks.

      Considering no one is spamming anything and I can't shill what I wrote myself and claim to have done, your 'input' is /dev/null. I believe the word your looking for is advertise. That would've been acceptable. However, considering that shilling can be a criminal act, I decided to reply. I politely suggest that you use discretion when placing accusations. And on the record, one link to the original source seems appropriate to me.
      A reply falls below the community's threshold of quality. You may see it by logging in.
Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: bookreview [id://958363]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2023-12-01 06:11 GMT
Find Nodes?
    Voting Booth?

    No recent polls found