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 provides a quick overview of things changed in syntax, operators, compound statements, regular expressions, command-line flags, and various other bits and pieces.
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.
The Operators section guides you from the operators in Perl's perlop to the equivalent 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
).
The Special Variables section describes if and how a lot of Perl's special (punctuation) variables are supported in Raku.