diff options
Diffstat (limited to 'index.pl')
| -rwxr-xr-x | index.pl | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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(); |
