Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 17541aa215
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 75 lines (55 sloc) 2.53 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
CPAN::Testers::Fact::PlatformInfo
=================================

This distribution stores the platform information of the machine ruuning the
CPAN Testers smoker.

DEPENDENCIES

The distribution requires the following modules:

  Carp
  Metabase::Fact::Hash

INSTALLATION

To install this module, untar the tarball into the directory of choice then
type the following on the command line (substitute make with nmake or dmake
if appropriate):

  perl Makefile.PL
  make
  make test
  make install

Alternatively you may wish to use the CPAN.pm shell or CPANPLUS shell as your
installer, which will automatically detect uninstalled prerequisities and
install those too for you.

SYNOPSIS

  # 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}
    },
  );

BUGS, PATCHES & FIXES

There are no known bugs at the time of this release. However, if you spot a
bug or are experiencing difficulties that are not explained within the POD
documentation, please submit a bug to the RT system (see link below). However,
it would help greatly if you are able to pinpoint problems or even supply a
patch.

Fixes are dependent upon their severity and my availability. Should a fix not
be forthcoming, please feel free to (politely) remind me by sending an email
to barbie@cpan.org.

RT: http://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Testers-Fact-PlatformInfo

AUTHORS
  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 AND LICENSE

  Copyright (C) 2008-2012 Barbie for Miss Barbell Productions

  This module is free software; you can redistribute it and/or
  modify it under the Artistic Licence v2.
Something went wrong with that request. Please try again.