Perl: the Markov chain saw | |
PerlMonks |
Grab last line and printby Anonymous Monk |
on Aug 25, 2006 at 18:25 UTC ( [id://569662]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I would like to open up a file and fetch the last line only:
In the above file I would want: Friday, 08/25/2006 14:15 I can open the file but how would I fetch the last line??
Back to
Seekers of Perl Wisdom
|
|