summaryrefslogtreecommitdiff
path: root/lib/Travel/Routing
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-06-28 23:53:28 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-06-28 23:53:28 +0200
commit12d0fecd0924b793986ffb675f67a1bb26ff09ee (patch)
tree3937ea589f320343a491bb7e811562791b29f088 /lib/Travel/Routing
parent4e6c2251d31ec0c7fe1236df62aa3e1a2797fecb (diff)
VRR.pm: Update SYNOPSIS
Diffstat (limited to 'lib/Travel/Routing')
-rw-r--r--lib/Travel/Routing/DE/VRR.pm6
1 files changed, 2 insertions, 4 deletions
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,