Undefined subroutine &Win32::Daemon::SERVICE_STOPPED called at ... and is pointing to this code in the initial startup: #### my %Context = ( last_state => SERVICE_STOPPED, start_time => time(), );