don';t let it drive you crazy Re: debugging tip

2006-08-16 Thread David Nicol
in the extreme development model, the task of removing the debug statements rarely gets prioritized to the point of happening. Popularizing constant-based debug statements as a best practice is certainly an approach; maybe if we get some power to impose standards by refusal we can insist that all

Re: debugging tip

2006-08-16 Thread David Nicol
On 8/14/06, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: entering captain obvious mode, i realized use constant DEBUG_CONNECT= $ENV{'P2XLP_DEBUG_CONNECT'} Brilliant! (applause) -- David L Nicol Luddite! (mob of angry villagers with ray guns)

debugging tip

2006-08-14 Thread Jonathan Vanasco
i've been going crazy trying to abstract my shared libraries into something where the debug code is manageable and reusable without hacking at the library. my problem was that I made too much use of how perl optimizes away debug code if you use constants i had tons of