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

Reply via email to