in reply to Out of memory problem when copying contents of file into array
Although I never used it myself I remember reading about File::ReadBackwards
It sounds like you could use it :)
ZlR