From 71cb57d5266acaf1b9c8f5e7eb6bf4aa382a372b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 8 Sep 2011 17:14:45 +0200 Subject: results: Do not strip platform prefix The platform prefix is required to distinguish light from heavy rail --- lib/Travel/Status/DE/VRR.pm | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') diff --git a/lib/Travel/Status/DE/VRR.pm b/lib/Travel/Status/DE/VRR.pm index 8bb1f6d..2a38eae 100644 --- a/lib/Travel/Status/DE/VRR.pm +++ b/lib/Travel/Status/DE/VRR.pm @@ -100,7 +100,6 @@ sub results { for my $tr ($self->{tree}->findnodes($xp_element) ) { my ($time, $platform, $line, $dest) = map { ($tr->findnodes($_->[1]))[0]->textContent } @parts; - $platform =~ s{ ^ \S+ \s }{}x; push(@results, Travel::Status::DE::VRR::Result->new( time => $time, platform => $platform, -- cgit v1.2.3