Perl One-Liners: 130 Programs That Get Things Done (Paperback)
暫譯: Perl 一行程式:130 個完成任務的程式 (平裝本)
Peteris Krumins
- 出版商: No Starch Press
- 出版日期: 2013-11-26
- 售價: $1,690
- 貴賓價: 9.5 折 $1,606
- 語言: 英文
- 頁數: 168
- 裝訂: Paperback
- ISBN: 159327520X
- ISBN-13: 9781593275204
-
相關分類:
Perl 程式語言
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
C 語言教學手冊, 4/e$620$490 -
Linux 程式設計教學手冊 (Beginning Linux Programming, 4/e)$780$616 -
版本控制使用 Git, 2/e (Version Control with Git: Powerful tools and techniques for collaborative software development, 2/e)$580$458 -
王者歸來 Java Web 整合開發-JSP + Servlet + Struts + Hibernate + Spring, 3/e$980$833 -
超圖解 Arduino 互動設計入門 (附 Arduino UNO R3 開發板)$1,130$961 -
Arduino UNO R3 開發板(副廠相容版)附傳輸線$400$380 -
無瑕的程式碼 番外篇-專業程式設計師的生存之道 (The Clean Coder: A Code of Conduct for Professional Programmers)
$360$281 -
10 天就懂!一定學會 jQuery 的 36 堂關鍵課程$550$429 -
無瑕的程式碼-敏捷軟體開發技巧守則 + 番外篇-專業程式設計師的生存之道 (雙書合購)$940$700 -
iOS 7 程式設計實戰-171 個快速上手的開發技巧$480$379 -
透視 C語言指標-深度探索記憶體管理核心技術 (Understanding and Using C Pointers)$480$379 -
設計模式的解析與活用 (Design Patterns Explained: A New Perspective on Object-Oriented Design, 2/e)$480$374 -
Linux Shell 程式設計與管理實務(完整涵蓋 Bash 4.x)$650$514 -
直接單挑 VMWare-免費 Oracle VirtualBox 最完整實戰聖書$720$612 -
實戰 Cacti 網路監控系統-打造高可用性 IT 環境的最佳幫手$380$300 -
Android 及 ARM 原生語言-逆向工程破解 Android APP 安全$590$502 -
Mastering Perl, 2/e (Paperback)$1,568$1,485 -
Android App 程式設計教本之無痛起步, 2/e$480$408 -
21 世紀 C 語言 (21st Century C: C Tips from the New School)$580$458 -
Linux 程式設計完全攻略:記憶體管理 × 檔案系統 × 多執行緒 × 網路 × 多媒體$720$562 -
超圖解 Arduino 互動設計入門, 2/e$680$578 -
Analog IC Design with Low-Dropout Regulators, 2/e (IE-Paperback)$1,080$1,058 -
iOS 9 App 程式設計實力超進化實戰攻略:知名iOS教學部落格AppCoda作家親授實作關鍵技巧讓你不NG (Beginning iOS 9 Programming with Swift)$690$538 -
公開來源情資技術:線上資訊搜尋與分析資源 (Open Source Intelligence Techniques: Resources for Searching and Analyzing Online Information, 4/e)$1,887$1,665 -
精通 Shell 程式設計, 4/e (Shell Programming in Unix, Linux and OS X: The Fourth Edition of Unix Shell Programming, 4/e)$580$458
相關主題
商品描述
Part 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.
In Perl One-Liners, 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.
You'll find one-liners that:
- Encode, decode, and convert strings
- Generate random passwords
- Calculate sums, factorials, and the mathematical constants π and e
- Add or remove spaces
- Number lines in a file
- Print lines that match a specific pattern
- Check to see if a number is prime with a regular expression
- Convert IP address to decimal form
- Replace one string with another
商品描述(中文翻譯)
程式設計在 Perl 中的一部分樂趣在於用簡短、高效且可重用的程式碼來處理繁瑣的任務。通常,完美的工具就是一行程式碼的單行程式(one-liner),這是一個小而強大的程式,能夠在一行程式碼中完成一件事情,並且做得非常好。
在《Perl One-Liners》一書中,作者及急躁的駭客 Peteris Krumins 帶你探索超過 100 個引人入勝的單行程式,這些程式可以執行各種實用的任務,例如操作行距、計算表格中的列值,以及獲取系統上的用戶列表。這本實用、可自訂且有趣的腳本食譜將幫助你磨練 Perl 編碼技能,因為 Krumins 將逐步解析程式碼,讓你對這門語言有更深入的理解。
你會發現以下的單行程式:
- 編碼、解碼和轉換字串
- 生成隨機密碼
- 計算總和、階乘以及數學常數 π 和 e
- 添加或移除空格
- 為檔案中的行編號
- 列印符合特定模式的行
- 使用正則表達式檢查一個數字是否為質數
- 將 IP 位址轉換為十進位形式
- 用另一個字串替換一個字串
還有更多!隨著你學會用《Perl One-Liners》以幾個精確的按鍵擊敗那些煩人的任務,節省時間並提升你的編碼技能。
