{"product_id":"perl-one-liners-130-programs-that-get-things-done-9781593275204","title":"Perl One-Liners: 130 Programs That Get Things Done","description":"\u003cp\u003ePart of the fun of programming in Perl lies in tackling tedious tasks with short, efficient, and reusable code. Often, the perfect tool is the one-liner, a small but powerful program that fits in one line of code and does one thing really well.\u003cbr\u003e\u003cbr\u003eIn \u003cem\u003ePerl One-Liners\u003c\/em\u003e, author and impatient hacker Peteris Krumins takes you through more than 100 compelling one-liners that do all sorts of handy things, such as manipulate line spacing, tally column values in a table, and get a list of users on a system. This cookbook of useful, customizable, and fun scripts will even help hone your Perl coding skills, as Krumins dissects the code to give you a deeper understanding of the language.\u003cbr\u003e\u003cbr\u003eYou'll find one-liners that: \u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eEncode, decode, and convert strings\u003c\/li\u003e\n\u003cli\u003eGenerate random passwords\u003c\/li\u003e\n\u003cli\u003eCalculate sums, factorials, and the mathematical constants π and \u003cem\u003ee\u003c\/em\u003e\n\u003c\/li\u003e\n\u003cli\u003eAdd or remove spaces\u003c\/li\u003e\n\u003cli\u003eNumber lines in a file\u003c\/li\u003e\n\u003cli\u003ePrint lines that match a specific pattern\u003c\/li\u003e\n\u003cli\u003eCheck to see if a number is prime with a regular expression\u003c\/li\u003e\n\u003cli\u003eConvert IP address to decimal form\u003c\/li\u003e\n\u003cli\u003eReplace one string with another\u003c\/li\u003e\n\u003c\/ul\u003eAnd many more  Save time and sharpen you coding skills as you learn to conquer those pesky tasks in a few precisely placed keystrokes with \u003cem\u003ePerl One-Liners\u003c\/em\u003e.\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAbout the Author\u003c\/b\u003e\u003cbr\u003e\u003cp\u003ePeteris Krumins is a programmer, systems administrator, start-up manager, and all-around hacker. He is the cofounder of Browserling and Testling, and he runs the popular programming blog catonmat.net.\u003c\/p\u003e\u003cbr\u003e","brand":"No Starch Press","offers":[{"title":"Default Title","offer_id":50855875739922,"sku":"9781593275204","price":36.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0831\/4771\/8930\/files\/img_58a70cb3-49a5-49bc-bd6f-55df939a8950.jpg?v=1737487014","url":"https:\/\/surprise-castle.myshopify.com\/products\/perl-one-liners-130-programs-that-get-things-done-9781593275204","provider":"Surprise Castle","version":"1.0","type":"link"}