Hi folks.
I have multiple files, each containing one text phrase per line. How do I read these multiple files, and randomly select one line item from the combined data set?
This snippet would be accessed by a CGI and multiple of them could be running simultanesouly. I therefore believe that populating an array would be a better approach than creating a temp file, but I'm not exactly sure if there's another better way.
Any help/pointers would be very helpful. Thanks!
-Jason