On Sat, 2003-06-28 at 15:08, Peter B. Ensch wrote:
> Coding in plain CGI I've often require'd files containing
> data in perl data-structures. The script may write to the 
> file (via Data::Dumper for example) allowing subsequent 
> invokations of the script to have access to the revised
> data.

It would be simpler and faster to use MLDBM::Sync for this.

> I was expecting this methodology to break under mod_perl
> thinking that the require would only happen once (the
> first time the script runs after server startup); however,
> it seems to be working the way it always did.
> 
> Why is this? Am I missing something?

Can't tell without seeing some code.  Your require'd files with not be
reloaded unless you are using Apache::Reload or Apache::StatINC to force
them.

- Perrin

Reply via email to