[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
- RFC 83 (v1) Make constants look like variables Perl6 RFC Librarian
- Re: RFC 83 (v1) Make constants look like variable... Larry Wall
- Re: RFC 83 (v1) Make constants look like vari... Mike Pastore
- Re: RFC 83 (v1) Make constants look like ... Simply Hao
- Re: RFC 83 (v1) Make constants look like ... Nathan Wiger
- Re: RFC 83 (v1) Make constants look l... James Mastros
- Re: RFC 83 (v1) Make constants look like ... Steve Simmons
- Re: RFC 83 (v1) Make constants look l... Andy Wardley
- Re: RFC 83 (v1) Make constants l... Mike Pastore
- Re: RFC 83 (v1) Make constan... Philip Newton
- Re: RFC 83 (v1) Make con... Mike Pastore
- Re: RFC 83 (v1) Make constants l... Michael Fowler