in reply to Check if module is installed

One more possibility is to use an Module::Load::Conditional