=begin pod

=TITLE class X::Syntax::P5

=SUBTITLE Compilation error due to use of Perl 5-only syntax

    class X::Syntax::P5 does X::Syntax { }

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

For example

=for code :skip-test
for my $a (1, 2) { };

dies with

=for code :skip-test
===SORRY!===
This appears to be Perl 5 code


=end pod
