in reply to Re^3: Can't daemonize because STDIN/STDOUT not detatched?
in thread Can't daemonize because STDIN/STDOUT not detatched?

I want to debug what is in the socket, and I can see from the terminal. Commented out the #    open STDOUT, '>/dev/null' or die "Can't write to /dev/null: $!"; seems get the result I want, but i am not sure if it is the right way to do :)