Slaughter::API::MSWin32 - Perl Automation Tool Helper Windows implementation
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.
Slaughter::API::Local::MSWin32
Now follows documentation on the available methods.
Export all subs in this package into the main namespace.
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.
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:
The name of the binary file to find.
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.
Steve Kemp <steve@steve.org.uk>
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.
To install App::Slaughter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Slaughter
CPAN shell
perl -MCPAN -e shell install App::Slaughter
For more information on module installation, please visit the detailed CPAN module installation guide.