PITA::XML::Platform is a 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.