From dc92c7f29cbbb8d2d6e93f8fca06646bc7a42627 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 27 Mar 2016 12:02:29 +0200 Subject: update line_no documentation --- lib/Travel/Status/DE/IRIS/Result.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/Travel/Status/DE/IRIS/Result.pm b/lib/Travel/Status/DE/IRIS/Result.pm index 56e6c27..8d51028 100644 --- a/lib/Travel/Status/DE/IRIS/Result.pm +++ b/lib/Travel/Status/DE/IRIS/Result.pm @@ -870,9 +870,8 @@ Train type with line (such as C<< S 1 >>) if available, type with number =item $result->line_no Number of the line, undef if unknown. Seems to be set only for S-Bahn and -similar trains. Regional and long-distance trains such as C<< RE 10126 >> -usually do not have this field set, even if they have a common line number -(C<< RE 1 >> in this case). +regional trains. Note that some regional and most long-distance trains do +not have this field set, even if they have a common line number. Example: For the line C<< S 1 >>, line_no will return C<< 1 >>. -- cgit v1.2.3