package Some::Thing; ... if( ::DEBUG ) { ## do debug stuff }