On Mon, 13 Dec 1999, Alex Menendez wrote:
> Hello, All
> 
> I currently have a caching module for dynamic pages that is loaded up upon
> server startup. However, when each child process uses this module they
> each create a copy of the modules caching hash. 
> 
> I would like to have 1 copy of the caching hash in the parent process that 
> each child can read and/or write to. 
> 
> I have never used it before, however, the storable module seems to be the
> way to go. Is this correct?

There are a number of options. Easiest might be a database+DBI (because
then the DB deals with the locking for you - that's the hard bit of all the
other solutions). Others are a tied hash, IPC, Storable, Data::Dumper.

-- 
<Matt/>

Details: FastNet Software Ltd - XML, Perl, Databases.
Tagline: High Performance Web Solutions
Web Sites: http://come.to/fastnet http://sergeant.org
Available for Consultancy, Contracts and Training.

Reply via email to