6 use Test::More tests => 1;
13 for my $mod ( keys %prereqs ) {
17 push @missing, "$mod is not installed";
21 if ( $mod->VERSION < $prereqs{$mod} ) {
22 push @missing, "$mod must be version $prereqs{$mod} or greater (you have " . $mod->VERSION . ")";
27 diag "\n***********************************************************\n";
29 diag " Found the following prereq problems ...\n";
30 diag " $_\n" for @missing;
32 diag " ***********************************************************\n";
35 ok( ! @missing, 'Checking for prereqs' );