Adam Kennedy

NAME

PITA::XML::Platform - Data object representing a platform configuration

SYNOPSIS

  # Create a platform configuration
  my $platform = PITA::XML::Platform->new(
      scheme => 'perl5',
      path   => '/usr/bin/perl',
      env    => \%ENV,
      config => \%Config::Config,
  );
  
  # Get the current perl5 platform configuration
  my $current = PITA::XML::Platform->autodetect_perl5;

DESCRIPTION

PITA::XML::Platform is an object for holding information about the platform that a package is being tested on

It can be created either as part of the parsing of a PITA::XML file, or if you wish you can create one from the local system configuration.

Primarily it just holds information about the host's environment and the Perl configuration.

METHODS

As the functionality for PITA::XML is still in flux, the methods will be documented once we stop changing them daily :)

SUPPORT

Bugs should be reported via the CPAN bug tracker at

http://rt.cpan.org/NoAuth/ReportBug.html?Queue=PITA-XML

For other issues, contact the author.

AUTHOR

Adam Kennedy <adamk@cpan.org>, http://ali.as/

SEE ALSO

PITA::XML

The Perl Image-based Testing Architecture (http://ali.as/pita/)

COPYRIGHT

Copyright 2005 - 2013 Adam Kennedy.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.