in reply to removing debugging code at compile time ?

Is it possible to invoke debugging mode via import and still have it compiled away if not set? i.e. can you invoke via:
use My::Module qw(DEBUG);