From 8f9ce9b676d49fde13ea4a27b5dbb9c8ec0a0f80 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Fri, 29 Nov 2013 16:16:56 -0500 Subject: [PATCH] Newlines were appearing on end of all settings! --- calendar-export.plx | 1 + 1 file changed, 1 insertion(+) diff --git a/calendar-export.plx b/calendar-export.plx index 95d5e15..c88469a 100755 --- a/calendar-export.plx +++ b/calendar-export.plx @@ -507,6 +507,7 @@ sub ReadConfig($) { my %config; while (my $line = ) { + chomp $line; DieLog("Unable to parse $line in config file, $configFile") unless $line =~ /^\s*([^:]+)\s*:\s*([^:]+)\s*$/; $config{$1} = $2;