class X::Syntax::P5

Compilation error due to use of Perl-only syntax
class X::Syntax::P5 does X::Syntax { }

Syntax error thrown when some piece of code is clearly Perl, not Raku.

For example

for my $a (1, 2) { };

dies with

===SORRY!===
This appears to be Perl code

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

Built with Podlite β€” the markup and publishing tools behind this site.