> As part of my ongoing effort to streamline my mod_perl apps, I've come
> to discover the joy of constant subroutines and perl's ability to
> inline or eliminate code at compile time.  I have a solution that
> works, but would be interested in seeing if others had better
> syntactic sugar..

You could use Filter::CPP with #ifdefs for this.

#ifdef DEBUGGING
print STDERR $some_thing;
#endif

- Perrin

Reply via email to