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
PITA::XML::Platform
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
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=PITA-XML
For other issues, contact the author.
Adam Kennedy <adamk@cpan.org>, http://ali.as/
PITA::XML
The Perl Image-based Testing Architecture (http://ali.as/pita/)
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.
To install PITA::XML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PITA::XML
CPAN shell
perl -MCPAN -e shell install PITA::XML
For more information on module installation, please visit the detailed CPAN module installation guide.