T M
class X::Syntax::Perl5Var
Error ReportCollection examples

Compilation error due to use of Perl-only default variables

class X::Syntax::Perl5Var does X::Syntax { }

Syntax error thrown when some piece of code tries to use one of the old Perl variables (and it does not error for some other reason).

say $];

dies with

Unsupported use of $] variablein Raku please use $*RAKU.version or $*RAKU.compiler.version

For every unsupported variable (which include most $^'letter' constructs, as well as others like $", the error message will mention that the variable is unsupported and the equivalent commands you could use.