diff options
| author | Paul Buetow <paul@buetow.org> | 2013-03-10 11:09:13 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-03-10 11:09:13 +0100 |
| commit | 949fd3d82f9e4afd925ad2168de358b6499d889b (patch) | |
| tree | bfc07215996479a32aac4936fba01ac230aee922 /index.pl | |
| parent | 025e15b2ba7f54f87cf409fd7c3dd77746c72858 (diff) | |
| parent | 469d0a4485d65bbea6161782e78781333eb28d8b (diff) | |
quick commit
Diffstat (limited to 'index.pl')
| -rwxr-xr-x | index.pl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/index.pl b/index.pl new file mode 100755 index 0000000..985af29 --- /dev/null +++ b/index.pl @@ -0,0 +1,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(); + |
