
maneshmotts
Novice
Oct 1, 2012, 10:14 PM
Post #1 of 2
(1922 views)
|
Need a logic for this program.
|
Can't Post
|
|
HI, I am beginner in perl, I am looking for logic for program for solving in perl language . "I have 10GB log file, Which append the data to the end of the file every five minutes. I need to reverse the file like the latest input to first line of first page and the oldest data to last line of the last page of the log file. I can use only 1 GB of ram memory." using 1 GB ram memory so we cant use the inbuild functions like reverse and other options.What would be the efficient way. Any algorithm or pseudo code would help me a lot thanks.
|