CPAN::Testers::Fact::PlatformInfo - platform information on which a CPAN Testers smoker is running
version 1.01
# assume $report is a hash of a test report created using a CPAN Testers # smoker, which generates metadata for the platform. my $fact = CPAN::Testers::Fact::PlatformInfo->new( resource => 'cpan:///distfile/RJBS/CPAN-Metabase-Fact-0.001.tar.gz', content => { osname => $report->{platform_info}{osname} , archname => $report->{platform_info}{archname} , osvers => $report->{platform_info}{osvers} , oslabel => $report->{platform_info}{oslabel} , is32bit => $report->{platform_info}{is32bit} , is64bit => $report->{platform_info}{is64bit} , osflag => $report->{platform_info}{osflag} , codename => $report->{platform_info}{codename} , kernel => $report->{platform_info}{kernel} }, );
Stores the platform information of the machine ruuning the CPAN Testers smoker.
All keys are optional, but here in case some become mandatory.
Returns a list of theoptional keys.
The metadata values accessor.
The metadata values descriptors.
See Metabase::Fact.
Please report any bugs or feature using the CPAN Request Tracker. Bugs can be submitted through the web interface at http://rt.cpan.org/Dist/Display.html?Queue=CPAN-Testers-Fact-PlatformInfo
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Barbie (BARBIE) <barbie@cpan.org> Brian McCauley (NOBULL) <nobull67@gmail.com> Colin Newell (NEWELLC) F<http://colinnewell.wordpress.com/> Jon 'JJ' Allen (JONALLEN) <jj@jonallen.info>
Copyright (C) 2011-2014 Birmingham Perl Mongers This distribution is free software; you can redistribute it and/or modify it under the Artistic License 2.0.
To install CPAN::Testers::Fact::PlatformInfo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::Testers::Fact::PlatformInfo
CPAN shell
perl -MCPAN -e shell install CPAN::Testers::Fact::PlatformInfo
For more information on module installation, please visit the detailed CPAN module installation guide.