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

Re: How to query/stop/start Windows services?

by secret (Beadle)
on Dec 16, 2005 at 08:45 UTC ( #517169=note: print w/replies, xml ) Need Help??


in reply to How to query/stop/start Windows services?

I don't understand : Win32::Service is available by default in my standard ActiveState distribution. You don't to install it . Have you tried to use it, it should be there. If not there's something broken in your installation, and you could always re-install .

  • Comment on Re: How to query/stop/start Windows services?

Replies are listed 'Best First'.
Re^2: How to query/stop/start Windows services?
by adambrad (Initiate) on Dec 16, 2005 at 12:47 UTC
    I just upgraded to the latest version of AS Perl (5.8.7) and I can now use Win32::Service with no problems.....but now I don't understand *why* it works.

    If I use PPM3 and query all installed modules:

    query *

    ....there is no mention of the 'Win32-Service' module at all, the only Win32 module is 'Win32-OLE'.

    Shouldn't 'Win32-Service' show as an installed module?

      Some modules of the Win32 namespace need to be installed via the CPAN. Some other are in the core activestate distribution (although they are not part of the Perl source ) and I assume that is why they do not show as "installed" modules with ppm :

        The builtin functions are marked as [CORE] and the other ones as [EXT] in the following alphabetical listing. The Win32 module is not part of the Perl source distribution; it is distributed in the libwin32 bundle of Win32::* modules on CPAN. The module is already preinstalled in binary distributions like ActivePerl.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2020-02-29 01:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (128 votes). Check out past polls.

    Notices?