Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 23 lines (19 sloc) 453 Bytes
#!/usr/bin/perl
use strict;
use warnings;
my @modules = qw(
Encode
File::Slurp
Getopt::Long
Template
Test::HTML::Lint
Text::Markdown
);
print "# Checking that we have all our necessary modules.\n";
for my $module ( @modules ) {
eval "use $module; 1" or die "Can't load $module";
my $vername = '$' . ${module} . '::VERSION';
my $ver = eval $vername;
print "$module $ver\n";
}
print "# All modules loaded.\n\n";