http://www.perlmonks.org?node_id=966879


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}