Trey Harris wrote:

> A more practical application would be:
> 
>   my $foo;
>   # Code which might or might not set $foo...
>   $foo //= 23;
>   # or
>   $foo is default(23);
> 
> In such a case, the C<is default> just looks plain odd to me.  

It is. More than that, it's plain wrong. C<is> properties are
compile-time features. They can only be specified on declarations.


 > Weird.  C<//=> seems perfectly reasonable to me.

To us too. That's why we chose them for parameter defaulting as well.

Damian


Reply via email to