Q: Why is a protoobject considered undef?

Jonathan Worthington jonathan at jnthn.net
Fri Mar 5 17:08:25 UTC 2010


On 05/03/2010 04:10, Austin Hastings wrote:
> One of the things that has been griping my wagger recently is the fact 
> that P6protoobject overrides vtable_defined so that protoobjects are 
> always considered undef.
>
> Is there a good reason for this?
Yes; proto-objects are what fill the niche of (typed) undefined values 
in Perl 6.

Jonathan


More information about the parrot-dev mailing list