From 969a501c444b9c583d4fb577f33c0c0008e4c1ec Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 27 Jun 2011 23:24:10 +0200 Subject: DeutscheBahn.pm: Replace newlines by space instead of deleting them --- lib/Travel/Status/DE/DeutscheBahn.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Travel/Status/DE/DeutscheBahn.pm b/lib/Travel/Status/DE/DeutscheBahn.pm index 577f72a..673f149 100644 --- a/lib/Travel/Status/DE/DeutscheBahn.pm +++ b/lib/Travel/Status/DE/DeutscheBahn.pm @@ -123,7 +123,7 @@ sub results { my @via; for my $str ( $time, $train, $dest, $platform, $info ) { - $str =~ s/\n//mg; + $str =~ s/\n/ /mg; $str =~ tr/ //s; } -- cgit v1.2.3