Or use File::ReadBackwards as ikegami suggests.
- seek to the end of the file
- search for the line terminator of the line before the last
- read from the position of the character after the line terminator to the end of file.
In reply to Re^2: Reading Lines from Text file
by holli
in thread Reading Lines from Text file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |