Perl 6 Fundamentals [electronic resource] : A Primer with Examples, Projects, and Case Studies /
Lenz, Moritz.author.
Gain the skills to begin developing Perl 6 applications from the ground up in this hands-on compact book. 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. You will: 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.
Includes index.
1. What is Perl 6? -- 2. Running Rakudo Perl 6 -- 3. Formatting a Sudoku Puzzle -- 4. Datetime Conversion for the Command Line -- 5. Testing say() -- 6. Silent Cron, a Cron Wrapper -- 7. Stateful Silent Cron -- 8. Review of the Perl 6 Basics -- 9. Parsing INI files using Regexes and Grammars -- 10. A File and Directory Usage Graph -- 11. A Unicode Search Tool -- 12. Plotting Using Inline::Python and Matplotlib -- 13. What's Next?.
Gain the skills to begin developing Perl 6 applications from the ground up in this hands-on compact book. 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. You will: 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.
Programming languages (Electronic computers).
Computer programming.
Open source software.
Programming Languages, Compilers, Interpreters.
Programming Techniques.
Open Source.
Perl 6 fundamentals