eval { require Term::Title; }; if ( $@ ) { warn the user that Term::Title was not found, so he'll be missing some feature in my application } #### require Term::Title; if ( ! is_module_version_at_least( "Term::Title", "a.b" ) ) { print "I can use this module version, but it has known bugs and you should upgrade it." }