in reply to Re: Win32::Daemon::State returns a 0 or 1
in thread Win32::Daemon::State returns a 0 or 1

The job runs fine no copile errors, it's just not returning the constant strings the documentation claims it should return. Ex: SERVICE_STOPPED, SERVICE_START_PENDING, SERVICE_PAUSE_PENDING, SERVICE_CONTINUE_PENDING, SERVICE_STOP_PENDING, and SERVICE_RUNNING. This strings are compared to the status returned to perform certain functions. I did not write the code I picked it up from the web and I'm trying to make it work for me. Thanks for your help.
  • Comment on Re^2: Win32::Daemon::State returns a 0 or 1