[Chicago-talk] DEBUG function

Jay Strauss me at heyjay.com
Sun Feb 29 22:27:34 CST 2004

I'm looking at some code "POE::Filter::Line" @

and at the top he has a:

sub DEBUG () { 0 }

then later he has a:

DEBUG and do {

obviously this is debugging stuff.  My question is how would you ever get
DEBUG to return "true", in order to enter the debugging code?  I know you
can always change the source to make:

sub DEBUG () { 1 }

But is there some way you are supposed to do this at runtime?


More information about the Chicago-talk mailing list