Camelia

class X::Syntax::NegatedPair

src
    class X::Syntax::NegatedPair does X::Syntax { }

 
Thrown if a colonpair illegally has a value, for example :!a(1) . This is an error because the ! negation implies that the value is False . A typical error message from this class is I<Argument not allowed on negated pair with key 'a'>.

Methods

key

Returns the key of the pair that caused the error.

Perl 6 Tricks and Treats newsletter

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