summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-11-28 11:24:12 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-11-28 11:24:12 +0100
commit2d274f589b640c7570e9da22593dd0c0a7419b81 (patch)
tree1a24afeac06c39d578e7ee900fd9faec6672039c /bin
parent779ee8af322ce8079890efd4714eae64225abcc8 (diff)
start switching from HTML to XML mode (parsing works fine, todo: error detection)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/efa12
1 files changed, 7 insertions, 5 deletions
diff --git a/bin/efa b/bin/efa
index 3dca2cc..60b3d78 100755
--- a/bin/efa
+++ b/bin/efa
@@ -198,11 +198,13 @@ for my $i ( 0 .. $#routes ) {
}
printf(
- "%-5s ab %-30s %-20s %s\n%-5s an %-30s\n\n",
- $c->get(
- qw(departure_time departure_stop train_line
- train_destination arrival_time arrival_stop)
- ),
+ "%-5s ab %-30s %-20s %s\n%-5s an %s\n\n",
+ $c->departure_time,
+ $c->departure_stop_and_platform,
+ $c->train_line,
+ $c->train_destination,
+ $c->arrival_time,
+ $c->arrival_stop_and_platform,
);
}
if ( $i != $#routes ) {