in reply to Re: My daemon will not restart
in thread My daemon will not restart
This is a good suggestion. If you add:
right before (or in) the call to &restart_daemon, things might work for you (at least they did in a stripped down version of your code.)$server = undef;
In Section
Seekers of Perl Wisdom