Try useing sv_setpv.
In reply to Re: xs and references by Anonymous Monk in thread xs and references by Anonymous Monk