Perl to Raku guide - overview

How do I do what I used to do?

These documents should not be mistaken for a beginner tutorial or a promotional overview of Raku (née Perl 6); it is intended as a technical reference for Raku learners with a strong Perl background and for anyone porting Perl code to Raku.

Raku in a nutshell

Raku in a Nutshell provides a quick overview of things changed in syntax, operators, compound statements, regular expressions, command-line flags, and various other bits and pieces.

Syntactic differences

The Syntax section provides an overview of the syntactic differences between Perl and Raku: how it is still mostly free form, additional ways to write comments, and how switch is very much a Raku thing.

Operators in Raku

The Operators section guides you from the operators in Perl's perlop to the equivalent in Raku.

Functions in Raku

The Functions section describes all of the Perl functions and their Raku equivalent and any differences in behavior. It also provides references to ecosystem modules that provide the Perl behavior of functions, either existing in Raku with slightly different semantics (such as shift), or non-existing in Raku (such as tie).

Special variables in Raku

The Special Variables section describes if and how a lot of Perl's special (punctuation) variables are supported in Raku.

See Also

Perl to Raku guide - in a nutshell

How do I do what I used to do? (Raku in a nutshell)

Perl to Raku guide - functions

Builtin functions in Perl to Raku

Perl to Raku guide - operators

Operators in Perl to Raku: equivalencies and variations

Perl to Raku guide - syntax

Syntactic differences between Perl and Raku

Perl to Raku guide - special variables

A comparison of special variables in Perl and Raku

Haskell to Raku - nutshell

Learning Raku from Haskell, in a nutshell

JavaScript (Node.js) to Raku - nutshell

Learning Raku from Node.js, in a nutshell

Python to Raku - nutshell

Learning Raku from Python, in a nutshell

Ruby to Raku - nutshell

Learning Raku from Ruby, in a nutshell: what do I already know?

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.