Steve Canfield wrote:

> I was under the impression that compile time properties, like runtime
> properties, can be arbitrarily invented and/or assigned.

Yes, but not purely lower-case ones. They're reserved for Perl 6 itself.
(i.e. only Larry can invent/assign them ;-)


> If that is
> correct, why would "my $var is true", meaningless though it is,
> result in a compile time error? 

Because it's lower-case, but not a standard built-in property.


> If my perception was incorrect, what
> was the logic behind the decision that compile time properties must
> be part of a predefined set,

There is no such requirement. Indeed, there will almost certainly
be possible to define an <is True> property yourself (note the
capitalization). And it could quite easily cause any value assigned
to it to be ascribed C<but true>.

Damian

Reply via email to