develooper Front page | perl.beginners | Postings from December 2002

Grab last line like `tail'

Thread Next
From:
Harry Putnam
Date:
December 1, 2002 07:11
Subject:
Grab last line like `tail'
Message ID:
m2ptsldbb0.fsf@sbcglobal.net
Is there a perl equivalent to the unix `tail' command?  Where I could
grab the last line from a file without having to read the whole file?



Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About