diff options
Diffstat (limited to 'lib/Travel/Routing/DE/VRR/Route')
-rw-r--r-- | lib/Travel/Routing/DE/VRR/Route/Part.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Travel/Routing/DE/VRR/Route/Part.pm b/lib/Travel/Routing/DE/VRR/Route/Part.pm index e47a512..8f63f6e 100644 --- a/lib/Travel/Routing/DE/VRR/Route/Part.pm +++ b/lib/Travel/Routing/DE/VRR/Route/Part.pm @@ -38,10 +38,10 @@ points, without interchanges =head1 SYNOPSIS - for my $part ( $route->parts() ) { + for my $part ( $route->parts ) { - if ( $part->extra() ) { - say join( "\n", $part->extra() ); + if ( $part->extra ) { + say join( "\n", $part->extra ); } printf( |