|
|
| XP is just a number | |
| PerlMonks |
Re^2: Display last recordby Happy-the-monk (Prior) |
| on Dec 31, 2005 at 18:43 UTC ( #520181=note: print w/ replies, xml ) | Need Help?? |
|
Just move the file pointer to the end of the file minus whatever the maximum record size is, then read everything Without example code to back it up, this must look quite a bit obscure to a newbee. Being concerned of large files I would opt for the answer in perlfaq5 to perldoc -q "a line in a file" and use Tie::File. Cheers, Sören
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||