Oct 16, 2000, 11:07 AM
Post #1 of 2
I am new to Perl (coming from a Java background) - I need to write a CGI script with a constantly running background task doing the following:
- load file every 10 minutes into memory
- when web request comes in, search data for required information and return it
The file is large and may take 30 seconds or more to read, so the script should still handle requests when loading is happening.
I can't find any info on multithreading and data synchronization in Perl. Can anyone help me?