Travel::Routing::DE::EFA::Route(3pm)

Travel::Routing::DE::EFA::Route3pm

Single route (connection) between two points

Usage

        for my $route ( $efa->routes ) {
                for my $part ( $route->parts ) {
                        # $part is a Travel::Routing::DE::EFA::Route::Part object
                }
        }

Version

version 2.24

Overview

Travel::Routing::DE::EFA::Route describes a single method of getting from one point to another. It holds a bunch of Travel::Routing::DE::EFA::Route::Part(3pm) objects describing the parts of the route in detail. Each part depends on the previous one.

You usually want to acces it via "$efa->routes".

Methods

Accessors

$route->duration

route duration as string in HH:MM format

$route->parts

Returns a list of Travel::Routing::DE::EFA::Route::Part(3pm) elements describing the actual route

$route->ticket_type

Type of the required ticket for this route, if available (empty string otherwise)

$route->fare_adult

ticket price for an adult in EUR

$route->fare_child

ticket price for a child in EUR

$route->vehicle_time

on-vehicle time (excluding waiting time) of the route in minutes

Diagnostics

None.

Dependencies

None.

Bugs and limitations

None known.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Author

Copyright (C) 2011-2015 by Birte Kristina Friesel <[email protected]>

License

This program is licensed under the same terms as Perl itself.

From libtravel-routing-de-vrr-perl 2.24-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.