diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Travel/Routing/DE/EFA.pm | 8 | ||||
-rw-r--r-- | lib/Travel/Routing/DE/EFA/Route/Part.pm | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/Travel/Routing/DE/EFA.pm b/lib/Travel/Routing/DE/EFA.pm index 00a4697..245afbf 100644 --- a/lib/Travel/Routing/DE/EFA.pm +++ b/lib/Travel/Routing/DE/EFA.pm @@ -802,13 +802,13 @@ Travel::Routing::DE::EFA - unofficial interface to EFA-based itinerary services for my $route ( $efa->routes ) { for my $part ( $route->parts ) { printf( - "%s at %s -> %s at %s, via %s to %s", + "%s at %s -> %s at %s, via %s to %s\n", $part->departure_time, $part->departure_stop, $part->arrival_time, $part->arrival_stop, $part->train_line, $part->train_destination, ); } - print "\n\n"; + print "\n"; } =head1 VERSION @@ -905,7 +905,7 @@ Journey start time. Default: now =item B<date> => I<DD.MM.>[I<YYYY>] -Journey date. Default: tdoay +Journey date. Default: today =item B<exclude> => \@exclude @@ -1000,7 +1000,7 @@ The following methods act like the arguments to B<new>. See there. =over -=item Travel::Status::DE::VRR::get_efa_urls() +=item Travel::Routing::DE::EFA::get_efa_urls() Returns a list of known EFA entry points. Each list element is a reference to an array consisting of two strings. The first one is the URL (as passed to diff --git a/lib/Travel/Routing/DE/EFA/Route/Part.pm b/lib/Travel/Routing/DE/EFA/Route/Part.pm index 317be56..4645435 100644 --- a/lib/Travel/Routing/DE/EFA/Route/Part.pm +++ b/lib/Travel/Routing/DE/EFA/Route/Part.pm @@ -161,7 +161,7 @@ Scheduled arrival time in HH:MM format =item $part->arrival_routemaps List of URLs, may be empty. Each URL poinst to a transfer map for the arrival -station, usually outlining fow to transfer from this train to the next one +station, usually outlining how to transfer from this train to the next one (if applicable). =item $part->arrival_stationmaps @@ -204,7 +204,7 @@ Scheduled departure time in HH:MM format =item $part->departure_routemaps List of URLs, may be empty. Each URL points to a PDF a transfer map for the -departure station, usually outlining fow to transfer from thep previous train +departure station, usually outlining how to transfer from thep previous train (if applicable) to this one. =item $part->departure_stationmaps |