Jump to ratings and reviews
Rate this book

Learning Perl 6: Keeping the Easy, Hard, and Impossible within Reach

Rate this book
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

474 pages, Paperback

First published September 17, 2018

9 people are currently reading
12 people want to read

About the author

Brian D. Foy

10 books3 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
3 (37%)
4 stars
3 (37%)
3 stars
1 (12%)
2 stars
1 (12%)
1 star
0 (0%)
Displaying 1 of 1 review
Profile Image for Gustavo Chaves.
52 reviews5 followers
December 17, 2018
I ended this book with mixed feelings. As a long-time Perl programmer I wanted to better know Perl 6 in order to understand how different it is from the original Perl and how it improved. I guess on these two considerations the book was a success.

However, I don't know what to think of the language itself. The book got me excited about the topics on numbers, function signatures, object orientation, regexes, and grammars, for instance. On the other hand, it got me scratching my head about Supplies, Channels, and Promises. I know about all the classic concurrency mechanisms (mutexes, semaphores, monitors, queues, CSP, etc.) but I couldn't really grok the Perl 6 mechanisms from the book description. Perhaps using them to implement some simple classic concurrency problems (e.g. the dinning phylosophers) or comparing them to the more usual mechanisms could help.

The real problem though is that in several parts of the book I got nervous with what seems to me at first reading a level of complexity uncalled for. It's too much syntax sugar to my taste, perhaps.

Anyway, I think I can be wrong and could get used to it. I didn't even tried to do the exercises proposed in the book.
Displaying 1 of 1 review

Can't find what you're looking for?

Get help and learn more about the design.