> > I would suggest a two modules though say Devel::Refcount
>
> Is this Devel::Refcount really necessary, given how easy it is to build
> using B::SV->REFCNT ?
>
> Plus, the more levels of code, the more difficult it is to ensure the
> count is correct.
>

I see your point although I would contend that a Devel::Refcount module
would be useful even if Test::Refcount didn't use it as knowing about
B::SV->REFCNT is not easy. The B:: namespace not a place I would think that
may perl programers would go and try searching on CPAN for reference
counting and you will have a hard time finding out about B::svref_2object
call let alone the REFCNT parameter. This may be a problem with CPAN and
general lower level that reference counting exists in.

If Paul "LeoNerd" Evens doesn't want to create the module Devel::Refcount
along with Test::Refcount I would be happy to do it my self.

Ivan

-- 
email/jabber: [EMAIL PROTECTED]
/
/ _ _
/ \ / | | | |
/ \/ \_| | |

Reply via email to