From efd57ff706b4ec533c117af77fa46cc689c3f4b4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 13 Jul 2015 22:54:04 +0200 Subject: EFA: chomp info messages (avoid trailing newlines) --- lib/Travel/Routing/DE/EFA.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/Travel/Routing') diff --git a/lib/Travel/Routing/DE/EFA.pm b/lib/Travel/Routing/DE/EFA.pm index 282acbe..abdd997 100644 --- a/lib/Travel/Routing/DE/EFA.pm +++ b/lib/Travel/Routing/DE/EFA.pm @@ -519,6 +519,7 @@ sub parse_cur_info { ); for my $key ( keys %msg ) { $msg{$key} = decode( 'UTF-8', $msg{$key} ); + chomp($msg{$key}); } return Travel::Routing::DE::EFA::Route::Message->new(%msg); } -- cgit v1.2.3