perl6/doc/lib/X/Syntax/Variable/Match

doc src
(title) class X::Syntax::Variable::Match
    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

 

Perl 6 Tricks and Treats newsletter

Register to the free newsletter now, and get updates and news.
Email:
Name: