http://www.perlmonks.org?node_id=134168


in reply to CGI data from memory w/o mod_perl

How about trying an IPC share?

Use a module like IPC::Shareable to store the data in memory with apropriate "load from disk" code around it (i.e. if the shared memory is empty, then populate it from your disk file). That way it'll rebuild the IPC structure automatically if its ever lost (i.e. reboot, etc...).