Re: Read file at startup, access data during request?

2001-03-30 Thread Stas Bekman
On Thu, 29 Mar 2001, Richard Anderson wrote: I want to read and parse a file when Apache mod_perl starts and have access to the data while my mod_perl methods are processing the request. The most obvious approach (to me) is to put the reading/parsing code at the beginning of my mod_perl

Read file at startup, access data during request?

2001-03-29 Thread Richard Anderson
I want to read and parse a file when Apache mod_perl starts and have access to the data while my mod_perl methods are processing the request. The most obvious approach (to me) is to put the reading/parsing code at the beginning of my mod_perl module, outside of my methods, and load the data