develooper Front page | perl.module-authors | Postings from November 2010

Re: What hurts you the most in Perl?

Thread Previous | Thread Next
From:
Paul Bennett
Date:
November 29, 2010 05:59
Subject:
Re: What hurts you the most in Perl?
Message ID:
op.vmxqg5vuq0lew6@granite.launchmodem.com
On Wed, 24 Nov 2010 10:54:31 -0500, Sébastien Aperghis-Tramoni  
<sebastien@aperghis.net> wrote:

>> So I wonder what hurts *you* the most in Perl?
>
> In terms of Perl itself, apart from the reference syntax, the thing that
> really annoyed me recently was the lack of advanced debug tools, for  
> example
> to find memory leaks. None of the tools I found or was pointed to worked
> in my case.

I have to second this. Trying to track down a memory leak recently in a  
fairly large and complex multi-fork()ing application left me with a bunch  
of modules that basically stated "use this on the data structure or piece  
of code you already know to be leaking, and you'll get a lot of technical  
diagnostic information", but there seemed to be nothing I could just  
attach to the application in any way that would help me *find* the data  
structure or piece of code that was leaking. Coming up with unit tests  
that were complicated enough to stably reproduce the condition essentially  
boiled down to rewriting the entire application from scratch in a  
TAP-oriented way.




--
Paul (PWBENNETT)

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About