in reply to Conditional Compiling

POE has a preprocessor which is used to do something similar. And you might get around the warning by using LOGGING() instead.

Replies are listed 'Best First'.
Re^2: Conditional Compiling
by ikegami (Patriarch) on Nov 17, 2004 at 21:54 UTC

    LOGGING() doesn't change anything.

    &LOGGING gets rid of the warning ...and of the LOGGING's status as a constant.

    I'll be checking how use constant does it shortly

    Update: Setting $log to 0 instead of undef for false removes the warnings.