in reply to Caching files question

Yes, it's called 'file buffer' and is done by your OS.

Of course, if you files are large, or if you use up all of your memory otherwise, the files may expire from your cache before you use them again.

Perhaps the better way is read in the files one by one, then loop over all the queries per file.

Replies are listed 'Best First'.
Re^2: Caching files question
by vit (Friar) on Aug 16, 2008 at 16:44 UTC
    Files are not big and OS buffering does not help. There should be some perl modules or functions which can help.