How is setting one SV from another going to be implemented?
My (admittedly vague) recollection was that it would be
something like

void sv_setsv(SV* dest, SV* src)
{
   dest->sv_vtbl->delete(dest); /* clear the old value */
   dest->sv_vtbl = src->sv_vtbl;
   dest->sv_vtbl->dupfrom(dest, src); /* and copy in the
new */
}

That is, in $a = $b, $a would get a new vtbl, the one from
$b. My question is how does this work with the need for
assign-by-value, which is required for things like ties and
overloads? 

-- BKS

__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Reply via email to