in reply to
To DEBUG, or to COMMENT. _That_ is the question
I have always wished for ... and, this being Perl so I’m sure it must exist I just don’t know of it ... an #if .. preprocessor capability, a la C/C++. I would like “true conditional-compilation,” for any purpose including but not limited to the insertion of debugging code. I am not familiar with this particular module enough to comment on its merits. Certainly, these messaging techniques are crucial to the successful debugging and maintenance of production code ... whether done in this particular way or not. Thanks for pointing out this module ... it seems well worth a closer look.