Win32::Service - manage system services in perl
use Win32::Service;
This module offers control over the administration of system services.
All of the functions return FALSE (0) if they fail, unless otherwise noted. If hostName is an empty string, the local machine is assumed.
Start the service serviceName on machine hostName.
Stop the service serviceName on the machine hostName.
Get the status of a service.
To install Win32::File, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Win32::File
CPAN shell
perl -MCPAN -e shell install Win32::File
For more information on module installation, please visit the detailed CPAN module installation guide.