PITA::XML::Platform - Data object representing a platform configuration
# 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;
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.
As the functionality for PITA::XML is still in flux, the methods will be documented once we stop changing them daily :)
Bugs should be reported via the CPAN bug tracker at
For other issues, contact the author.
Adam Kennedy <email@example.com>, http://ali.as/
The Perl Image-based Testing Architecture (http://ali.as/pita/)
Copyright 2005 - 2011 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.