Book description
f you’re ready to get started with Raku (formerly Perl 6), this is the book you want, whether you’re a programmer, system administrator, or web hacker. Raku 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 Raku, but this book will turn you into a Raku 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
Publisher resources
Table of contents
- Preface
- 1. Introduction
- 2. Number Guessing
- 3. Numbers
- 4. Strings
- 5. Building Blocks
- 6. Positionals
- 7. When Things Go Wrong
- 8. Files and Directories, Input and Output
- 9. Associatives
- 10. Using Modules
- 11. Subroutines
- 12. Classes
- 13. Roles
- 14. Junctions and Sets
- 15. Regular Expressions
- 16. Fancier Regular Expressions
- 17. Grammars
- 18. Supplies, Channels, and Promises
- 19. Controlling Other Programs
- 20. Advanced Topics
- 21. Conclusion
- Glossary
-
A. Exercise Answers
- Answers to Preface Exercises
- Answers to Chapter 1 Exercises
- Answers to Chapter 2 Exercises
- Answers to Chapter 3 Exercises
- Answers to Chapter 4 Exercises
- Answers to Chapter 5 Exercises
- Answers to Chapter 6 Exercises
- Answers to Chapter 7 Exercises
- Answers to Chapter 8 Exercises
- Answers to Chapter 9 Exercises
- Answers to Chapter 10 Exercises
- Answers to Chapter 11 Exercises
- Answers to Chapter 12 Exercises
- Answers to Chapter 13 Exercises
- Answers to Chapter 14 Exercises
- Answers to Chapter 15 Exercises
- Answers to Chapter 16 Exercises
- Answers to Chapter 17 Exercises
- Answers to Chapter 18 Exercises
- Answers to Chapter 19 Exercises
- Index
Product information
- Title: Learning Perl 6
- Author(s):
- Release date: September 2018
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781491977682
You might also like
book
HTML and CSS: Visual QuickStart Guide, 9th Edition
Learn HTML and CSS with the Visual QuickStart Guide -- the quick and easy way! This …
book
WebAssembly: The Definitive Guide
WebAssembly: The Definitive Guide is a thorough and accessible introduction to one of the most transformative …
book
C++ Crash Course
Upgrade your Code with C++ C++ is one of the most widely used languages for real-world …
book
Move Your Mind
Learn how to create new daily habits that build happiness and reduce stress In Move Your …