At 17:57 29/03/2001 +0800, Stas Bekman wrote:
>On Thu, 29 Mar 2001, Robin Berjon wrote:
>> just out of curiosity, has anyone used PerlRestartHandler ? To what use ? I
>> don't know what I'd use it for, so I'm wondering whether I'm missing out on
>> something really cool :)
>
>The eagle book says:
>
>PerlRestartHandler points to a routine that is called when the server
>is restarted. This gives you the chance to step in and perform any cleanup
>required to tweak the Perl interpreter.  For example, you could use this
>opportunity to trim the global @INC path or collect statistics about the
>modules that have been loaded.

Ah yes, hadn't spotted that one, thanks Stas (once again...). I thought
about it as a kind of CleanupHandler that doesn't affect the time it takes
for a child to be available for service again (for non per-request cleanups
obviously) but I couldn't think of what could usefully be done there.

-- robin b.
The more you run over a dog, the flatter it gets.

Reply via email to