Peteris Krumins' Perl One-Liners (No Starch)

Perl one-liners are small, super-nifty Perl programs that fit in one line of code and do one thing really well. Peteris Krumins' new book Perl One-Liners: 130 Programs That Get Things Done showcases short and compelling lines of code that do all sorts of handy, geeky things like numbering lines in a file; generating random passwords; encoding, decoding and converting strings; calculating factorials; and even checking to see if a number is prime with a regular expression. Krumins' dissections of each bit of code will help readers gain a deeper understanding of the Perl language, and the Perl one-liners contained herein are sure to save time and sharpen skills.

http://www.nostarch.com