Re: How to re-"use Module" if the Module has changed?



>>>>> "DS" == DJ Stunks <DJStunks@xxxxxxxxx> writes:

DS> andrew.fabbro@xxxxxxxxx wrote:
>> What I'd like to do is have the module reread its config if it gets a
>> HUP signal. But how can I say "go and 'use Module' again"? It appears
>> that if you 'use Module' more than once, subsequent calls are ignored.

>> From the Perl Cookbook:

DS> 17.16. Restarting a Server on Demand

he doesn't want to restart the whole server but to just reload its
config params. so that cookbook entry is overkill. it could also cause
trouble by break any live socket connections.

uri

--
Uri Guttman ------ uri@xxxxxxxxxxxxxxx -------- http://www.stemsystems.com
--Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org
.