If you want to use
Devel::Leak with recent Perl versions, apply this patch:
http://rt.cpan.org/Public/Bug/Display.html?id=22587. Took me a few hours to find that out a couple of weeks ago. Otherwise the module complains about requiring a Perl recompilation with -DDEBUGGING and after that it still does not output anything with sv_dump().