in reply to Detecting if a script uses non-standard module

Check out Module::CoreList to see whether a module was part of the core perl release for any given version e.g
BEGIN { for(@your_list_of_modules) { die "$0: $_ is unavailable in perl$]\n" unless exists $Module::CoreList::version{$]}{$_}; } }
HTH

_________
broquaint