NAME

Slaughter::Info::generic - Perl Automation Tool Helper generic info implementation

SYNOPSIS

This module is the generic 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 when no specific module matches the local system, and is essentially a no-operation module.

Usage is:

use Slaughter::Info::generic;

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

NOTE: The data retrieved by this generic module is almost empty.

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, and is the fall-back module which is used if a system-specific information module cannot be loaded.

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

Currently the following OS-specific modules exist:

Slaughter::Info::linux
Slaughter::Info::MSWin32