in reply to Re: check for modules
in thread check for modules

I prefer just:
eval "use $module; 1" or die "or apply contingency procedure";
If $module comes from an untrusted source, be sure to validate it before using in eval.