Read While You Wait - Get immediate ebook access, if available*, when you order a print book

Raku Fundamentals

A Primer with Examples, Projects, and Case Studies

Authors: Lenz, Moritz

Download source code Free Preview
  • Helps you begin coding with Raku using hands-on examples
  • Shows how to work with persistent storage
  • Teaches you how to write applications such as a Unicode search tool and usage graph
see more benefits

Buy this book

eBook $24.99
price for USA
  • ISBN 978-1-4842-6109-5
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $34.99
price for USA
  • ISBN 978-1-4842-6108-8
  • Free shipping for individuals worldwide. COVID-19 shipping restrictions apply.
  • Immediate ebook access, if available*, with your print order
  • Usually ready to be dispatched within 3 to 5 business days.
About this book

Gain the skills to begin developing Raku applications from the ground up in this hands-on compact book, which includes a foreword from Larry Wall, creator of Perl. You’ll learn enough to get started building with Raku, using Raku's gradual typing, handy object orientated features, powerful parsing capabilities, and human-usable concurrency. This book has been updated to include the latest version of Raku based upon the Perl 6.d major version which includes over 3,400 new commits in its specification.  

After a short introduction, each chapter develops a small example project, explaining the Raku features used. When the example is done, you’ll explore another aspect, such as optimizing further for readability or testing the code. Along the way you’ll see Raku basics, such as variables and scoping; subroutines; classes and objects; regexes; and code testing.  

When you’ve mastered the basics, Raku Fundamentals moves onto more advanced topics to give you a deeper understanding of the language. You’ll learn, amongst other things, how to work with persistent storage, how to generate good error messages, and how to write tricky applications such as a file and directory usage graph and a Unicode search tool. 

What You Will Learn

  • Get coding with latest version of Raku
  • Work on several hands-on examples and projects
  • Integrate Python libraries into your Raku-based programs
  • Parse INI files using regexes and grammars
  • Build a date-time converter 
  • Carry out refactoring and other automated tests
  • Who This Book Is For 

    If you already know one or more programming languages, and want to learn about Raku, then this book is for you.

    About the authors

    Moritz Lenz is a Perl 6, now Raku, core developer. He has contributed significantly to the official test suite, the Rakudo Perl compiler, and is the initiator of the official Raku documentation project. He has also authored several modules, and runs infrastructure for the Raku community. In his day job, he develops Perl 5 and Python code, and maintains a continuous delivery system for his employer.

    Table of contents (13 chapters)

    Table of contents (13 chapters)
    • What Is Raku?

      Pages 1-6

      Lenz, Moritz

    • Running Rakudo

      Pages 7-12

      Lenz, Moritz

    • Formatting a Sudoku Puzzle

      Pages 13-29

      Lenz, Moritz

    • Datetime Conversion for the Command Line

      Pages 31-51

      Lenz, Moritz

    • Testing say( )

      Pages 53-57

      Lenz, Moritz

    Buy this book

    eBook $24.99
    price for USA
    • ISBN 978-1-4842-6109-5
    • Digitally watermarked, DRM-free
    • Included format: PDF, EPUB
    • ebooks can be used on all reading devices
    • Immediate eBook download after purchase
    Softcover $34.99
    price for USA
    • ISBN 978-1-4842-6108-8
    • Free shipping for individuals worldwide. COVID-19 shipping restrictions apply.
    • Immediate ebook access, if available*, with your print order
    • Usually ready to be dispatched within 3 to 5 business days.

    Services for this book

    Loading...

    Bibliographic Information

    Bibliographic Information
    Book Title
    Raku Fundamentals
    Book Subtitle
    A Primer with Examples, Projects, and Case Studies
    Authors
    Copyright
    2020
    Publisher
    Apress
    Copyright Holder
    Moritz Lenz
    eBook ISBN
    978-1-4842-6109-5
    DOI
    10.1007/978-1-4842-6109-5
    Softcover ISBN
    978-1-4842-6108-8
    Edition Number
    2
    Number of Pages
    XVII, 186
    Number of Illustrations
    12 b/w illustrations
    Topics

    *immediately available upon purchase as print book shipments may be delayed due to the COVID-19 crisis. ebook access is temporary and does not include ownership of the ebook. Only valid for books with an ebook version. Springer Reference Works and instructor copies are not included.