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