We don't bite newbies here... much | |
PerlMonks |
Re^2: how to populate array with last 20 lines of fileby ytjPerl (Scribe) |
on Aug 08, 2017 at 19:51 UTC ( [id://1197033]=note: print w/replies, xml ) | Need Help?? |
Hi, Thanks for your posting. The major concern of not using the whole file is not because of memory issue. I need to find a string in that file to determine whether application is running or not. If I restart the application multiple times, there will be multiple 'startup' string in this log, so that I only need last lines of the log when its size is not increasing anymore.
In Section
Seekers of Perl Wisdom
|
|