perl6/doc/lib/X/Syntax/Variable/Numeric

doc src
(title) class X::Syntax::Variable::Numeric
    class X::Syntax::Variable::Numeric does X::Syntax { }

 
Syntax error thrown when trying to declare numeric symbols. For example
    my @101;

 
dies with
    ===SORRY!===
    Cannot declare a numeric variable

 

Methods

(head2) what
    method what returns Str:D

 
Returns a verbal description of the kind of symbol that was declared (variable, parameter, attribute).

Perl 6 Tricks and Treats newsletter

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