The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/bin/perl
use strict;
use warnings;
use FindBin;
use File::Spec::Functions;
use lib catfile($FindBin::Bin, 'lib');
use App::MadEye;
use Getopt::Long;

my $conffname = 'config.yaml';
my $version = 0;
GetOptions(
    'config=s' => \$conffname,
    'version'  => \$version,
) or die "Usage: $0 -c config.yaml";

if ($version) {
    print "App::MadEye/$App::MadEye::VERSION\n";
    exit;
}

App::MadEye->new({config => $conffname})->run;