Simple question, where is sv_setrv? AFAIK it doesn't exist. Why? So how in XS, do you take an existing SV, and make it be a reference to another SV? sv_setsv(existingSV, sv_2mortal(newRV_inc(targetSV)))? there has to be a less bloated way that uses SvRV_set somehow.