[EMAIL PROTECTED] writes:
: It is proposed that a new syntax for declaring constants be introduced:
: 
:   my constant $PI = 3.1415926;
:   my constant @FIB = (1,1,2,3,5,8,13,21);
:   my constant %ENG_ERRORS = (E_UNDEF=>'undefined', E_FAILED=>'failed');

Can't put a modifier like "constant" in the type slot.  The syntax for
variable attributes will look more like this:

    my num $PI : constant = 3.1415926;
    my int @FIB : constant = (1,1,2,3,5,8,13,21);
    my str %ENG_ERRORS : constant = (E_UNDEF=>'undefined', E_FAILED=>'failed');

Larry

Reply via email to