Perl6 RFC Librarian wrote:

> 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');

I like this.  Implementation wise, it could fit nicely with the DRAFT
structure RFC, which needs things that look like hashes with a constant set of
keys, although for structures, the values can vary with the method calls.
--
Glenn
=====
There  are two kinds of people, those
who finish  what they start,  and  so
on...                 -- Robert Byrne


_______________________________________________
Why pay for something you could get for free?
NetZero provides FREE Internet Access and Email
http://www.netzero.net/download/index.html

Reply via email to