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
Think Perl 6
Want to learn how to program and think like a computer scientist? This practical guide gets …
book
Perl 6 Deep Dive
Learn Perl 6 effortlessly to solve everyday problems About This Book Filled with practical examples, this …
book
Perl by Example
The World’s Easiest Perl 5 Tutorial—Updated for Today’s Applications and “Modern Perl” Best Practices “When I …
book
Minimal Perl
Perl is a complex language that can be difficult to master. Perl advocates boast that "There's …