summaryrefslogtreecommitdiff
path: root/lib/Travel/Routing/DE/VRR.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travel/Routing/DE/VRR.pm')
-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,