P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
DOCUMENTATION! After reading though the examples several times, I think I understand more or less what this does. I shouldn't have to do that. I vaugely know what magic is, and what the ~ magic vtable is. I had to read over the samples three times before I understood what you're doing there. It doesn't help that the ~ magic vtable has nothing to do with the "traditional" meaning of magic -- that is, it's never automaticly called. I wonder how difficult it would be to allow you to set other types of magic to a perl sub, to be able to create partialy-tied things, and other wierd stuff. Oh, and I think SvREFCNT can be gotten from several other places as well. Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node). In reply to Re: RFC Magic::Attach
by theorbtwo
|
|