BEGIN { for(@your_list_of_modules) { die "$0: $_ is unavailable in perl$]\n" unless exists $Module::CoreList::version{$]}{$_}; } }
_________
broquaint
In reply to Re: Detecting if a script uses non-standard module
by broquaint
in thread Detecting if a script uses non-standard module
by Lorand
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |