in reply to named pipe question
Named Pipes are an excellent idea when talking to strangers . And since it is mentioned in the Camel Book (page 345), you are certainly not the only one who uses this procedure.
But, I would include an retry mechanism because I think that when net-acct closes it's filehandle, the <> is terminated.
And there are better ways of setting up a daemon than with while (1) , for example Proc::Daemon.
Yours,
---------------------------
Dr. Mark Ceulemans
Senior Consultant
IT Masters, Belgium
|
|---|