root/lang/perl/App-Hachero/trunk/hachero.pl @ 19363

Revision 18806, 444 bytes (checked in by lopnor, 6 years ago)

lang/perl/App-Hachero: first import

  • Property svn:executable set to *
Line 
1#!/usr/bin/perl
2use strict;
3use warnings;
4use FindBin;
5use File::Spec::Functions;
6use lib catfile($FindBin::Bin, 'lib');
7use App::Hachero;
8use Getopt::Long;
9
10my $confname = 'config.yaml';
11my $version = 0;
12GetOptions(
13    'config=s'  => \$confname,
14    'version'   => \$version,
15) or die "Usage: $0 -c config.yaml";
16
17if ($version) {
18    print "App::Hachero/$App::Hachero::VERSION\n";
19    exit;
20}
21
22App::Hachero->new({config => $confname})->run;
23
Note: See TracBrowser for help on using the browser.