Still adding to Mastering Perl

brian_d_foy on 2007-08-11T01:25:01

Mastering Perl is already on the shelves and in people's hands, but I'm still updating the Mastering Perl working copy based on the feedback I'm getting. Maybe there will be a second edition in a couple of years, and if so, the book will be ready with updated material and even more Perly goodness.

rjbs suggest some changes to Chapter 2, "Advanced Regular Expressions", to properly note the perfomance penalty of $&. I used it in an example to motivate not using it, but then forgot to say why you shouldn't use it.

Andy Lester suggest that I add DBI's tainting features to Chapter 3, "Secure Programming Techniques", and so it has come to pass.

I've also made the odd errata correction.


Trap returning a hashref from a sub

Ron Savage on 2007-08-14T01:16:25

http://savage.net.au/Perl/sub.return.hashref.trap.pl

Re:Trap returning a hashref from a sub

brian_d_foy on 2007-08-14T03:07:13

Um, okay. Would you like to expand on that? I'm not sure how it applies to Mastering Perl.

Perhaps you're pointing out the well-known parsing problem we noted in Intermediate Perl on page 44?

DBI taint mode?

jdavidb on 2007-08-15T20:29:23

Thank you to both you and Andy for letting me know that there is now a DBI taint mode. :) I'm sure it's been there forever, but I'm slow.