in reply to Caching or using values across multiple programs
You might also have a look at Tie::Concurrent or other of the tie modules.