On Thu, 2003-07-03 at 16:16, Peter Ensch wrote:
> > > So, to reiterate, I may write to users.dat on one transaction
> > > and read on another; the file contents is always up-to-date.
> > 
> > The file is up-to-date, or the param 'users' is?
> > 
> 
> The file is. IE. it gets written and and the new stuff is available
> by simply reloading the page.

Well, the file getting written is not related to require loading each
time or not.  The thing that I would not expect to change is the
in-memory data.

> > Why don't you debug it a little by putting a warn statement in your
> > users.dat file that prints the process ID?  Then you can tell if it is
> > truly being executed more than once by the same process.
> > 
> 
> Hmm. Not sure how to do that w/out messing w/ the headers and 
> making the app. crash. How would I do that?

Before the hash stuff in the file, put in a statement like this:

warn "users.dat loaded by process $$";

- Perrin

Reply via email to