You might want to use the if module to make the use statements conditional:
use if !$skip, 'Config'; [download]
In reply to Re: Aborting a module by almut in thread Aborting a module by suaveant