Want to learn how to program and think like a computer scientist? This practical guide gets you started on your programming journey with the help of Perl 6, the younger sister of the popular Perl programming language. Ideal for beginners, this hands-on book includes over 100 exercises with multiple solutions, and more than 1,000 code examples so you can quickly practice what you learn. Experienced programmers—especially those who know Perl 5—will also benefit. Divided into two parts, Think Perl 6 starts with basic concepts that every programmer needs to know, and then focuses on different programming paradigms and some more advanced programming techniques. With two semesters’ worth of lessons, this book is the perfect teaching tool for computer science beginners in colleges and universities. Learn basic concepts including variables, expressions, statements, functions, conditionals, recursion, and loops Understand commonly used basic data structures and the most useful algorithms Dive into object-oriented programming, and learn how to construct your own types and methods to extend the language Use grammars and regular expressions to analyze textual content Explore how functional programming can help you make your code simpler and more expressive
The first try involved my frequent coauthor Randal L. Schwartz, who taught me most of everything I know about writing about programming. Even though he didn't take part in this book he's been immensely helpful throughout the years.
Internally, however, there are still kinks and stumbling blocks that developers need to sidestep, long-abandoned features maintained only for backward compatibility, misdirected phrasings that hinder more intuitive syntax structures, and a ...
This look at Perl 6 uncovers developments in Parrot - the interpreter engine that will execute code written in the new Perl 6 language and the most revolutionary change in the language itself - Apocalypse 12 on objects.
You won’t find any technical jargon, bloated samples, drawn out history lessons, or witty stories in this book. Perl 6 Quick Syntax Reference is packed with useful information and is a must-have for any developer new to Raku.
Randal Schwartz, brian foy, Tom Phoenix ... I have to thank Randal first, since I learned Perl from the first edition of this book, and then had to learn it again when he asked me ... I'm always amazed at the breadth of his knowledge.
What You'll Learn 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 ...
"The classic reference, updated for Perl 5.22"--Cover.
The third in O’Reilly’s series of landmark Perl tutorials (after Learning Perl and Intermediate Perl), this fully upated edition pulls everything together and helps you bend Perl to your will.
A guide to getting the most out of Perl covers such topics as productivity hacks, user interaction, data munging, working with modules, object hacks, and debugging.
To Randal Schwartz, for finding the time to offer feedback on my book despite the heavy demands of concurrently revising two of his own. To Peter Scott, for sharing his unparalleled experience, knowledge, and wisdom, and for his and ...