summaryrefslogtreecommitdiff
path: root/lib/Travel
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-09-08 17:14:45 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-09-08 17:14:45 +0200
commit71cb57d5266acaf1b9c8f5e7eb6bf4aa382a372b (patch)
tree2fe26f988c7129d9b8240103dc14782489c9c076 /lib/Travel
parenta785413d46ea064d7bc6dff1c2c86d1392557dda (diff)
results: Do not strip platform prefix
The platform prefix is required to distinguish light from heavy rail
Diffstat (limited to 'lib/Travel')
-rw-r--r--lib/Travel/Status/DE/VRR.pm1
1 files changed, 0 insertions, 1 deletions
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,