summaryrefslogtreecommitdiff
path: root/index.pl
blob: d5a4ef323f1e6299cc2b44a9530f7f1fc7d021de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/perl

use strict;
use warnings;

use Xerl;

use Socket;
use Sys::Hostname;

my $host = hostname();
my $config = -e "config-$host.txt" ?  "config-$host.txt" : 'config.txt';

my Xerl $xerl = Xerl->new( config => $config );
$xerl->run();