NAME

Slaughter::Info::MSWin32 - Perl Automation Tool Helper Windows info implementation

SYNOPSIS

This module is the Windows version of the Slaughter information-gathering module.

Modules beneath the Slaughter::Info namespace are loaded when slaughter is executed, they are used to populate a hash with information about the current host.

This module is loaded only on Windows systems, and will determine such details as the operating system version, the processor type, etc.

Usage is:

use Slaughter::Info::MSWin32;

my $obj  = Slaughter::Info::MSWin32->new();
my $data = $obj->getInformation();

# use info now ..
print $data->{'arch'} . "-bit architecture\n";

When this module is used an attempt is also made to load the module Slaughter::Info::Local::MSWin32 - if that succeeds it will be used to augment the information discovered and made available to slaughter policies.

AUTHOR

Steve
--
http://www.steve.org.uk/

LICENSE

Copyright (c) 2010-2012 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.

new

Create a new instance of this object.

getInformation

This function retrieves meta-information about the current host.

The return value is a hash-reference of data determined dynamically.

NOTE This module has only been tested under Strawberry perl.