diff options
| author | Daniel Friesel <derf@finalrewind.org> | 2011-06-27 23:24:10 +0200 |
|---|---|---|
| committer | Daniel Friesel <derf@finalrewind.org> | 2011-06-27 23:24:10 +0200 |
| commit | 969a501c444b9c583d4fb577f33c0c0008e4c1ec (patch) | |
| tree | 7d92ac94f98670258311b97e59428bb6adf3510a /lib | |
| parent | ba17712ad9ae3bd1d695bb3ab32df6ca9fba79aa (diff) | |
DeutscheBahn.pm: Replace newlines by space instead of deleting them
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Travel/Status/DE/DeutscheBahn.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
