Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Help with Win32::Service

by BrowserUk (Patriarch)
on Dec 14, 2003 at 04:22 UTC ( [id://314611]=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://314611]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-19 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found