Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: My daemon will not restart

by pc88mxer (Vicar)
on Feb 14, 2008 at 17:54 UTC ( #667984=note: print w/replies, xml ) Need Help??


in reply to Re: My daemon will not restart
in thread My daemon will not restart

This is a good suggestion. If you add:

$server = undef;
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.)

Replies are listed 'Best First'.
Re^3: My daemon will not restart
by graq (Curate) on Feb 15, 2008 at 09:15 UTC
    I have undefing $server, as well as explicitly undefing $server->{_sock}, but with no change in behaviour.

    -=( Graq )=-

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://667984]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2022-09-26 03:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (116 votes). Check out past polls.

    Notices?