At 3:53 PM +0000 2/14/02, Dave Mitchell wrote:
>My outstanding niggle is when a typed variable is undef. I guess we
>need a generic Perl_Undef_But_Typed vtable type, which behaves mostly
>like the PerlUndef type, but saves a pointer to its 'real' vtable in
>self->data or whatever. When it's assigned to, it upgrades itself to
>its real type, then passes control to it's real type's assign method.

That's a good point. I'll have to think about that a little bit. We 
could either have an undef flag or something and take definedness 
entirely out of the hands of the vtables, or use the "X or child of 
X" mechnanism to allow for undefs as well.
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                       teddy bears get drunk

Reply via email to