The stupid question is the question not asked | |
PerlMonks |
Re: XS and preserving magicby MarkM (Curate) |
on Jan 17, 2003 at 22:55 UTC ( [id://227844]=note: print w/replies, xml ) | Need Help?? |
Disclaimer: I do not think that attaching multiple instances of the same type of magic to an SV is good. sv_magicext() does not have as many restrictions as sv_magic() does. (In fact, sv_magic() is implemented in terms of sv_magicext()) You may need to refer to sv.c to determine what arguments sv_magicext() expects for '~' magic.
In Section
Seekers of Perl Wisdom
|
|