This is a small convenience module created originally as part of Module::Inspector but released separately, in the hope that people might find it useful in other contexts.