From 12d0fecd0924b793986ffb675f67a1bb26ff09ee Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 28 Jun 2011 23:53:28 +0200 Subject: VRR.pm: Update SYNOPSIS --- lib/Travel/Routing/DE/VRR.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/Travel') diff --git a/lib/Travel/Routing/DE/VRR.pm b/lib/Travel/Routing/DE/VRR.pm index baa770c..17c4adb 100644 --- a/lib/Travel/Routing/DE/VRR.pm +++ b/lib/Travel/Routing/DE/VRR.pm @@ -613,10 +613,8 @@ Travel::Routing::DE::VRR - inofficial interface to the efa.vrr.de German itinera destination => [ 'Duisburg', 'HBf' ], ); - $efa->submit(); - - for my $route ( $efa->routes() ) { - for my $part ( $route->parts() ) { + for my $route ( $efa->routes ) { + for my $part ( $route->parts ) { printf( "%s at %s -> %s at %s, via %s to %s", $part->departure_time, $part->departure_stop, -- cgit v1.2.3