in reply to Stopping Service with Win32::StopService
I'm running out the door to work:
Check for ';' at line 74 after the print Goodbye.
First thought after running it and throwing in a line to reflect the associated chosen number with the actual services is that it isn't one for one (the number I chose appeared to be a service that was not running) within your current code, which I realize is what you're going for. Got to run...