Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 28 lines (24 sloc) 545 Bytes
#!/usr/bin/perl
use strict;
use warnings;
my @modules = qw(
Encode
File::Slurp
Getopt::Long
Locale::Maketext::Lexicon
Locale::Messages
Locale::TextDomain
POSIX
Template
Test::HTML::Lint
Text::Markdown
URI
);
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";