summaryrefslogtreecommitdiff
path: root/index.pl
diff options
context:
space:
mode:
authorPaul Buetow (pluto.buetow.org) <paul@buetow.org>2013-09-07 18:05:44 +0200
committerPaul Buetow (pluto.buetow.org) <paul@buetow.org>2013-09-07 18:05:44 +0200
commit862679a92e2d853390d84ade4003f3c2e0f13bea (patch)
tree6d9a3f4a7d6289701f2e4b40b55949d60eed5b5b /index.pl
parent6c19d749604e37c7b75f120a5bf00af2a9dc5963 (diff)
perltidy
Diffstat (limited to 'index.pl')
-rwxr-xr-xindex.pl7
1 files changed, 4 insertions, 3 deletions
diff --git a/index.pl b/index.pl
index f1f5531..1846180 100755
--- a/index.pl
+++ b/index.pl
@@ -9,9 +9,10 @@ use Socket;
use Sys::Hostname;
my $host = hostname();
-my $config = -e "xerldev-$host.conf" ? "xerldev-$host.conf" : (
- -e "xerl-$host.conf" ? "xerl-$host.conf" : 'config.conf'
-);
+my $config =
+ -e "xerldev-$host.conf"
+ ? "xerldev-$host.conf"
+ : ( -e "xerl-$host.conf" ? "xerl-$host.conf" : 'config.conf' );
my Xerl $xerl = Xerl->new( config => $config );
$xerl->run();