On Thu, 10 Aug 2000, Decklin Foster wrote: > Syloke Soong <[EMAIL PROTECTED]> writes: > > > my $varname type; > > The syntax > > my $varname : constant; # pun not intended :) > > Was brought up earlier (but probably not before this RFC was written). > Perhaps something similar could be used for the sake of consistency. The syntax is actually: my type $varname; This is in perl 5.6.0. Modifiers go as attributes after the colon: my Dog $spot : constant = new Dog; dan
- RFC 89 (v1) Controllable Data Typing Perl6 RFC Librarian
- Re: RFC 89 (v1) Controllable Data Typing Decklin Foster
- Data type and attribute syntax (was Re: RFC 8... Dan Sugalski
- Data type and attribute syntax (was Re: R... Jeremy Howard
- Re: Data type and attribute syntax (w... Dan Sugalski
- Re: Data type and attribute syntax (w... Chaim Frenkel
- Re: Data type and attribute synt... Dan Sugalski
- Re: Data type and attribute ... Chaim Frenkel
- Re: Data type and attrib... Dan Sugalski
- Re: Data type and attrib... Jeremy Howard