in reply to Help with Win32::Service

Try modifying your script to test the return codes from the calls. In particular

Win32::Service::StopService('', $svc) or warn "Couldn't stop $svc because $^E";

There are several possibilities why the call could be failing, but easier that speculating on them is to find out why the system thinks it couldn't do this for you.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
Hooray!