diff options
Diffstat (limited to 'index.pl')
| -rwxr-xr-x | index.pl | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/index.pl b/index.pl new file mode 100755 index 0000000..64ef02e --- /dev/null +++ b/index.pl @@ -0,0 +1,27 @@ +#!/usr/local/bin/perl + +# Xerl (c) 2005-2011, 2013-2015, 2017 by Paul Buetow +# +# E-Mail: xerl@dev.buetow.org WWW: https://xerl.buetow.org +# +# This is free software, you may use it and distribute it under the same +# terms as Perl itself. + +use strict; +use warnings; + +use v5.14.0; + +use Xerl; + +use Socket; +use Sys::Hostname; + +my $host = hostname(); +my $config = + -e "xerldev.conf" + ? "xerldev.conf" + : ( -e "xerl-$host.conf" ? "xerl-$host.conf" : 'config.conf' ); + +my $xerl = Xerl->new( config => $config ); +$xerl->run(); |
