Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: bc47dc8bfb
Fetching contributors…

Cannot retrieve contributors at this time

14 lines (10 sloc) 0.431 kb
#!/usr/bin/env perl
my (@found, @not_found);
sub warn_if_not_found {
my $module = shift;
eval "require $module";
if ( $@ ) { push @not_found, $module } else { push @found, $module }
}
warn_if_not_found $_ for qw/Text::Xslate Date::Calc/;
if (@found) { print "### Prerequisites found:\n"; print "# $_\n" for @found };
if (@not_found) { print "### Prerequisites not found:\n"; print "$_\n" for @not_found; }
Jump to Line
Something went wrong with that request. Please try again.