does X::Syntax
Syntax error thrown when a variable with a twigil is used in an incompatible declaration.
For example
my ;
dies with
===SORRY!=== Cannot use ! twigil on my variable
Methods§
method twigil§
method twigil(--> Str)
Returns the twigil that was illegally used
method scope§
method scope(--> Str)
Returns the scope that did not harmonize with the twigil.