Re: generic refcounted object perl binding

2011-10-29 Thread Kevin Ryde
YangXi jianding...@msn.com writes: Even if we have to bless the referenCE, does the blessing actually bind package subs on the referenT? I think the blessing is a property of the underlying hash (or whatever). Eg. couple of lines below. It seems I should create an SV reference for my HV,

Re: generic refcounted object perl binding

2011-10-29 Thread Kevin Ryde
Torsten Schoenfeld kaffeeti...@gmx.de writes: I wanted to link to some XS tutorial covering all this, but the example at http://perldoc.perl.org/perlxstut.html#EXAMPLE-6 actually uses a different pattern to achieve the same thing: it mortalizes both the referent and the reference, I suppose