Perl 5 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; it is intended as a technical reference for Raku learners with a strong Perl 5 background and for anyone porting Perl 5 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 5 and Raku: how it is still mostly free form, additional ways to write comments, and how
switch is very much a Raku thing.
The Functions section describes all of the Perl 5 functions and their Raku equivalent and any differences in behavior. It also provides references to ecosystem modules that provide the Perl 5 behavior of functions, either existing in Raku with slightly different semantics (such as
shift), or non-existing in Raku (such as
The Special Variables section describes if and how a lot of Perl 5's special (punctuation) variables are supported in Raku.