---
name: "Travel::Routing::DE::VRR::Route"
section: "3pm"
platform: "linux"
package: "libtravel-routing-de-vrr-perl"
version: "2.01-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Travel::Routing::DE::VRR::Route"
---

# Travel::Routing::DE::VRR::Route(3pm)

Single route (connection) between two points

## NAME

Travel::Routing::DE::VRR::Route - Single route (connection) between two points

## SYNOPSIS

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

## VERSION

version 2.01

## DESCRIPTION

Travel::Routing::DE::VRR::Route describes a single method of getting from one point to another.  It holds a bunch of [*Travel::Routing::DE::VRR::Route::Part*(3pm)](/Travel::Routing::DE::VRR::Route::Part/3pm.md) 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::VRR::Route::Part*(3pm)](/Travel::Routing::DE::VRR::Route::Part/3pm.md) 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.

## SEE ALSO

[*Travel::Routing::DE::VRR*(3pm)](/Travel::Routing::DE::VRR/3pm.md), [*Travel::Routing::DE::VRR::Route::Part*(3pm)](/Travel::Routing::DE::VRR::Route::Part/3pm.md).

## AUTHOR

Copyright (C) 2011 by Daniel Friesel \<derf@finalrewind.org\>

## LICENSE

```
  0. You just DO WHAT THE FUCK YOU WANT TO.
```
