in reply to System V shared Memory Perl Module (more of a C question than Perl) aka Efficient SQL result caching
Take a look at these: IPC::MM, BerkeleyDB, Cache::Mmap, MLDBM::Sync (with SDBM_File).