Posted by brian d foy on January 1, 2012
Two years ago, Josh McAdams and I started The Effective Perler as an extension of the second edition of Effective Perl Programming. Since then, roughly once a week, we added one meaty Item a week. Last month, we published our 100th Item. With the 120 Items in the book, that’s a lot of items. I [...]
Posted by brian d foy on September 27, 2011
I mentioned a long time ago that a Chinese translation of Effective Perl Programming was in the works, and apparently it’s done. Someone sent me a copy of the Chinese version of the book. I can’t tell you who did it (if it’s you, let me know) and I don’t know where you can buy [...]
Posted by brian d foy on July 20, 2011
If you are playing with Unicode, you’re probably going to want to convert to the various normalization forms. There are some programs to do this in the Unicode::Tussle distribution, but you can also create some one-liners to do this as well (Item 120. Use Perl one-liners to create mini programs). If you want to read [...]
Posted by brian d foy on February 16, 2011
[This is a mid-week bonus item] Suppose you want to find some dates inside a big string. The problem with dates is that there are some many ways to write them, and even if you can come up with a pattern to get the structure right, can you handle the different locales and languages that [...]
Posted by brian d foy on January 20, 2011
[This is a mid-week bonus item, and it's a bit of a departure from much of what you have already seen on this blog. This is just some code that I had to write this week and I thought you'd like to see it.] I had to find some dates inside a big string, and [...]
Posted by brian d foy on December 31, 2010
The second edition of Effective Perl Programming came out toward the middle of the year, but we started this blog much sooner. We had mostly finished the principal writing and were in the editing process so we had some extra time to cover some of the extra material that didn’t make it into the book. [...]
Posted by brian d foy on December 22, 2010
[This is a mid-week bonus item since it's so short] In Perl 5.13.2, you got a non-destructive version of the substitution operator (Use the /r substitution flag to work on a copy). Instead of changing it’s target, the non-destructive version returns a new string that has the substitution. Perl 5.13.7 extends the /r to work [...]
Posted by brian d foy on December 8, 2010
[This is a midweek bonus Item since it is so short] I recently bought the new MacBook Air, which means my solid state device has over four times the storage as my old MacBook Air. For the first time, I used Apple’s migration tool to transfer everything from the old one to the new one. [...]
Posted by brian d foy on November 29, 2010
After I started writing this, which I’ve been working on off and on this month, the Safari To Go app disappeared from the US iTunes Store. I’ll update this review when the re-release fixes the issues involved. Some of the speed issues might be related to its apparent pre-release status. The Safari Books team alludes [...]
Posted by brian d foy on November 17, 2010
You can read Effective Perl Programming in the Safari Books Online mobile site, and it looks pretty nice. One of the advantages of Safari Books Online is that you don’t have to buy individual books. You have access to all of the books for a subscription fee. It’s even better if you get your company [...]