use Module::CoreList; if (not Module::CoreList->first_release_by_date('Foo::Bar')) { print "Foo::bar is not a part of core\n"; }