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


PITA-XML documentation  | view source Contained in the PITA-XML distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  # 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

Top

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

Top

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

SUPPORT

Top

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

Top

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

SEE ALSO

Top

PITA::XML

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

COPYRIGHT

Top


PITA-XML documentation  | view source Contained in the PITA-XML distribution.