void
substitute_ref(ref1, ref2)
SV* ref1
SV* ref2;
PPCODE:
sv_unref(ref1);
ref1 = ref2;
Yep, it's that simple. Still, I wish I could do it from pure Perl. In reply to Re: How to change referent of lexical reference?
by autarch
in thread How to change referent of lexical reference?
by autarch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |