diff --git a/lib/Path/Tiny.pm b/lib/Path/Tiny.pm index 58862e4..9fbea74 100644 --- a/lib/Path/Tiny.pm +++ b/lib/Path/Tiny.pm @@ -1364,8 +1364,8 @@ If C is provided, it will be set on the handle prior to reading. If a positive C is provided, that many lines will be returned from the start of the file. If a negative C is provided, the entire file will be -read, but only C will be kept and returned. If C -exceeds the number of lines in the file, all lines will be returned. +read, but only the last C lines will be kept and returned. +If C exceeds the number of lines in the file, all lines will be returned. If C is set, any end-of-line character sequences (C, C, or C) will be removed from the lines returned.