in reply to [Q]: How to include modules conditionally (using the pragma 'use')?
See use, or if, if you want something more fancy.