Hi folks,
I there anyway in a file to go to the previous line easily? I made a fct looking for one line ans returning all the text before that line, but after I want to start again from this line and if a call $line=<FILE> it gives me the following one.. I know that seek is a possibility but it is a byte lenght as limit... that is how I did, but in case the number of bytes change...
So any help would be sincerely appreciated!
Thanks
I there anyway in a file to go to the previous line easily? I made a fct looking for one line ans returning all the text before that line, but after I want to start again from this line and if a call $line=<FILE> it gives me the following one.. I know that seek is a possibility but it is a byte lenght as limit... that is how I did, but in case the number of bytes change...
So any help would be sincerely appreciated!
Thanks