in reply to Trapping "Stop" on perl windows service
You have to get rid of srvany and handle all those signals yourself. See Win32::Daemon and Win32::Daemon::Simple.
Jenda Enoch was right! Enjoy the last years of Rome.