in reply to Re^8: write to Disk instead of RAM without using modules
in thread write to Disk instead of RAM without using modules

I am sorry for posting again and again but as suggested by Laurent_R, load one file in memory and read all other files sequentially. I am unable to get through that as how to load one file in memory and open rest of the file sequentially for comparison.
  • Comment on Re^9: write to Disk instead of RAM without using modules

Replies are listed 'Best First'.
Re^10: write to Disk instead of RAM without using modules
by Corion (Patriarch) on Oct 25, 2016 at 09:08 UTC

    My code is amenable for both, storing the data of a file in memory and working sequentially through a file.

    Note that "storing a file in memory" is easily achieved using an array as storage and reading each line from a file sequentially and storing it in the array.