1) If the file is short:
eof and print while <$file>;2) If the file is long, check out File::ReadBackwards
In reply to Re: Grab last line and print
by Not_a_Number
in thread Grab last line and print
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |