T M
class X::Syntax::Variable::Match
Error ReportCollection examples

Compilation error due to declaring a match variable

class X::Syntax::Variable::Match does X::Syntax { }

Syntax error thrown when a match variable like $<thing> was declared.

For example

my $<thing>;

dies with

===SORRY!===
Cannot declare a match variable