in reply to Re: understanding devel::leak
in thread understanding devel::leak

I recently learned you can compile your perl with the parameter -DPURIFY which disables perl's own memory pool. This means whenever you release memory it is visible outside the process. Normally freed memory is just available to perl to do new things with. Perl's own pool may also free parts of itself but that's a separate issue from your structures as visible from within your program. This is just an effect of using a language with its own garbage collection.

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊