Perl 6 Fundamentals: A Primer with Examples, Projects, and Case Studies

Moritz Lenz

  • 出版商: Apress
  • 出版日期: 2017-07-27
  • 定價: $1,030
  • 售價: 9.0$927
  • 語言: 英文
  • 頁數: 164
  • 裝訂: Paperback
  • ISBN: 1484228987
  • ISBN-13: 9781484228982
  • 相關分類: Perl 程式語言
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

商品描述

Gain the skills to begin developing Perl 6 applications from the ground up in this hands-on compact book, which includes a foreword from Larry Wall, creator of Perl. You’ll learn enough to get started building with Perl 6, using Perl 6’s gradual typing, handy object orientation features, powerful parsing capabilities, and human-usable concurrency. After a short introduction, each chapter develops a small example project, explaining the Perl 6 features used. When the example is done, you’ll explore another aspect, such as optimizing further for readability or testing the code. 
 
Along the way you’ll see Perl 6 basics, such as variables and scoping; subroutines; classes and objects; regexes; and code testing. When you’ve mastered the basics, Perl 6 Fundamentals moves onto more advanced topics to give you a deeper understanding of the language. You’ll learn, amongst other things, how to work with persistent storage, how to generate good error messages, and how to write tricky applications such as a file and directory usage graph and a Unicode search tool.
 
What You'll Learn
  • Get coding with Perl 6
  • Work on several hands-on examples and projects
  • Integrate Python libraries into your Perl 6 programs
  • Parse INI files using regexes and grammars
  • Build a date time converter 
  • Carry out refactoring and other automated tests
Who This Book Is For
 
If you already know one or more programming languages, and want to learn about Perl 6, this book is for you.
 
 

商品描述(中文翻譯)

在這本實用的緊湊書中,您將獲得開始開發 Perl 6 應用程式所需的技能。這本書包含了 Perl 的創造者 Larry Wall 的前言。您將學習足夠的知識,以使用 Perl 6 的漸進式類型、方便的物件導向功能、強大的解析能力和易於使用的並行處理功能來開始構建 Perl 6 應用程式。在簡短的介紹之後,每個章節都會開發一個小型範例項目,並解釋所使用的 Perl 6 功能。當範例完成後,您將探索其他方面,例如進一步優化可讀性或測試程式碼。

在學習過程中,您將了解 Perl 6 的基礎知識,例如變數和作用域、子程序、類別和物件、正則表達式以及程式碼測試。當您掌握了基礎知識後,《Perl 6 Fundamentals》將深入探討更高級的主題,以使您對語言有更深入的理解。您將學習如何使用持久性儲存、生成良好的錯誤訊息,以及撰寫複雜的應用程式,例如檔案和目錄使用圖表和 Unicode 搜尋工具。

您將學到以下內容:
- 使用 Perl 6 進行編碼
- 進行多個實際範例和專案
- 將 Python 函式庫整合到 Perl 6 程式中
- 使用正則表達式和語法解析 INI 檔案
- 建立日期時間轉換器
- 進行重構和其他自動化測試

這本書適合已經熟悉一個或多個程式語言並希望學習 Perl 6 的讀者。