Learning Perl 6: Keeping the Easy, Hard, and Impossible Within Reach
- Length: 476 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2018-09-17
- ISBN-10: 149197768X
- ISBN-13: 9781491977682
- Sales Rank: #721536 (See Top 100 Books)
If you’re ready to get started with Perl 6, this is the book you want, whether you’re a programmer, system administrator, or web hacker. Perl 6 is a new language—a modern reinvention of Perl suitable for almost any task, from short fixes to complete web applications. This hands-on tutorial gets you started.
Author brian d foy (Mastering Perl) provides a sophisticated introduction to this new programming language. Each chapter in this guide contains exercises to help you practice what you learn as you learn it. Other books may teach you to program in Perl 6, but this book will turn you into a Perl 6 programmer.
Learn how to work with:
- Numbers, strings, blocks, and positionals
- Files and directories and input/output
- Associatives, subroutines, classes, and roles
- Junctions and sets
- Regular expressions and built-in grammars
- Concurrency features: Promises, supplies, and channels
- Controlling external programs and other advanced features
Table of Contents
Chapter 1. Introduction
Chapter 2. Number Guessing
Chapter 3. Numbers
Chapter 4. Strings
Chapter 5. Building Blocks
Chapter 6. Positionals
Chapter 7. When Things Go Wrong
Chapter 8. Files and Directories, Input and Output
Chapter 9. Associatives
Chapter 10. Using Modules
Chapter 11. Subroutines
Chapter 12. Classes
Chapter 13. Roles
Chapter 14. Junctions and Sets
Chapter 15. Regular Expressions
Chapter 16. Fancier Regular Expressions
Chapter 17. Grammars
Chapter 18. Supplies, Channels, and Promises
Chapter 19. Controlling Other Programs
Chapter 20. Advanced Topics
Chapter 21. Conclusion
Appendix A. Exercise Answers