in reply to Aborting a module

You might want to use the if module to make the use statements conditional:

use if !$skip, 'Config';