in reply to defining constant in other package

Smart::Comments maybe?

To have your variable turned on and off in another package see $ENV{Smart_Comments}

Replies are listed 'Best First'.
Re^2: defining constant in other package
by LanX (Saint) on Apr 24, 2012 at 16:25 UTC
    Thanks, but no thanks. :)

    Better no source filter in productive code!

    Smart::Comments may be OK if the developper tests his own code, but in this case the user should have the option to ask for additional infos (like benchmarks).

    Cheers Rolf