in reply to FIle Seeking
May be Array::FileReader could help you. By the way, documentation of this module answers exactly your question.