NAME
Slaughter::API::MSWin32 - Perl Automation Tool Helper Windows implementation
SYNOPSIS
This module is the one that gets loaded upon Windows systems, after the generic API implementation. This module implements the Win32-specific primitives.
We also attempt to load Slaughter::API::Local::MSWin32
, where site-specific primitives may be implemented. If the loading of this additional module fails we report no error/warning.
METHODS
Now follows documentation on the available methods.
import
Export all subs in this package into the main namespace.
Alert
This method is a stub which does nothing but output a line of text to inform the caller that the method is not implemented.
For an implementation, and documentation, please consult Slaughter::API::linux.
FindBinary
This method allows you to search for an executable upon your system $PATH, or a supplied alternative string.
if ( FindBinary( Binary => "ls" ) )
{
# we have ls!
}
The following parameters are available:
- Binary [mandatory]
-
The name of the binary file to find.
- Path [default: $ENV{'PATH'}]
-
This is assumed to be a semi-colon deliminated list of directories to search for the binary within.
If the binary is found the full path will be returned, otherwise undef.
InstallPackage
This method is a stub which does nothing but output a line of text to inform the caller that the method is not implemented.
For an implementation, and documentation, please consult Slaughter::API::linux.
Mounts
This method is a stub which does nothing but output a line of text to inform the caller that the method is not implemented.
For an implementation, and documentation, please consult Slaughter::API::linux.
PackageInstalled
This method is a stub which does nothing but output a line of text to inform the caller that the method is not implemented.
For an implementation, and documentation, please consult Slaughter::API::linux.
PercentageUsed
This method is a stub which does nothing but output a line of text to inform the caller that the method is not implemented.
For an implementation, and documentation, please consult Slaughter::API::linux.
RemovePackage
This method is a stub which does nothing but output a line of text to inform the caller that the method is not implemented.
For an implementation, and documentation, please consult Slaughter::API::linux.
UserExists
This method is a stub which does nothing but output a line of text to inform the caller that the method is not implemented.
For an implementation, and documentation, please consult Slaughter::API::linux.
UserDetails
This method is a stub which does nothing but output a line of text to inform the caller that the method is not implemented.
For an implementation, and documentation, please consult Slaughter::API::linux.
AUTHOR
Steve Kemp <steve@steve.org.uk>
LICENSE
Copyright (c) 2010-2015 by Steve Kemp. All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the full text of the license.