Marvin Humphrey wrote on 11/20/07 7:48 PM:

> The solution is to cache a Perl object within a KS object, so that
> effectively Perl *does* know about it.  That's the difference between
> Nat and Obj.  Under Nat, the refcounting is handled via the cached Perl
> object.  There are no longer two refcounts.

Now I feel like my decision to take this very same approach in the libswish3
perl bindings was not so crazy after all! :)

Nice explanation, Marvin. Thanks.

-- 
Peter Karman  .  http://peknet.com/  .  [EMAIL PROTECTED]

Reply via email to