in reply to Practical Proc::Daemon example

SWEETNESS!!!!!

Thanks for the code! I had been tinkering about with putting something together for a script which I needed to make a daemon out of. The script worked perfectly, so I did NOT want to pull it apart and split it up and such -- it simply needed to become a background process.

I got it working; I got it doing the fork, etc. But the "complex" part of checking to see if it is running, starting it, stopping it, etc, etc, was all becoming daunting. Yes, I could keep hacking away at it, and I'd have it done. But why? I just KNEW there had to be a better way!!!

Thanks to this one example, In less than an hour I replaced code I had spent days working on and testing, and am virtually finished with the project!

The only problem I have is I can only ++ this one time!

Lee Crites
lee@critesclan.com

Replies are listed 'Best First'.
Re^2: Practical Proc::Daemon example
by rwillett (Initiate) on Oct 26, 2015 at 16:03 UTC
    I joined this forum solely to say "Thank You".

    I am not a Perl Monk, I am a complete novice even after too many years. Time and time again I keep coming back here to hear pearls of wisdom.

    This description of how to use Daemon::Control was great and worked first time. It's saved me so much hassle.

    Thank you to everybody for putting so much time and effort into so many clear answers. We are often quick to criticise and carp, less quick to praise and say thanks. This is one small way of correcting that.

    Best wishes,

    Rob.