From 2d274f589b640c7570e9da22593dd0c0a7419b81 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 28 Nov 2011 11:24:12 +0100 Subject: start switching from HTML to XML mode (parsing works fine, todo: error detection) --- bin/efa | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'bin') 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 ) { -- cgit v1.2.3