I\'d like to be able to run this test on each module in the list. Not sure how to ger perl looping over each item.
use Module::Load;
eval {
load Image::Mag
I want to echo @daxim's comment that it seems that you are looking to make a distribution of your module. For this I would look to either Module::Build or Dist::Zilla. Almost all of my modules use one of these two mechanisms, so if you need examples, feel free to thumb around my GitHub. Look for Build.PL or dist.ini files (for M::B or D::Z respectively).