diff options
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(); + |
