I'd probably use the check_install() function from Module::Load::Conditional which is a core module.
http://search.cpan.org/~bingos/Module-Load-Conditional-0.62/lib/Module/Load/Conditional.pmIn reply to Re: checking for all packages
by fishmonger
in thread checking for all packages
by Wiggins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |