perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <>
Subject Re: a better way to recognize module changes
Date Mon, 14 Sep 2009 16:43:34 GMT
On Fri, Sep 11, 2009 at 6:18 PM, Jonathan Swartz <> wrote:
> But if you change a module, wouldn't your first subsequent request hit the
> 'old' code? That's the benefit of an independent watcher, it'll operate in
> the time between when you've changed your module and when you hit the server
> again.

That's true.  You could have it check for changes at the beginning of
the request, and if it sees any it could send a redirect to itself and
kill the current process.  Not perfect though.  I think the way you
suggested sounds fine.

- Perrin

View raw message