The method you are looking for could be Scalar::Util::weaken.
But that's unlikely to help if your third party module has cyclic references in internal data structures. Try Devel::Leak or Devel::Leak::Object to find the bad guy.
In reply to Re: reduce reference count of hash
by moritz
in thread reduce reference count of hash
by perlseeker5
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |