GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Devel::Platform::Info(3) User Contributed Perl Documentation Devel::Platform::Info(3)

Devel::Platform::Info - Unified framework for obtaining common platform metadata

  use Devel::Platform::Info;
  my $info = Devel::Platform::Info->new();
  my $data = $info->get_info();

This module is a wrapper to the drivers which can determine platform metadata regarding the currently running operating system.

The intention of this distribution is to provide key identifying components regarding the platform currently being used, for the CPAN Testers test reports. Currently the reports do not often contain enough information to help authors understand specific failures, where the platform may be a factor.

However, it is hoped that this distribution will find more uses far beyond the usage for CPAN Testers.

new

Simply constructs the object.

get_info

Returns a hash reference to the platform metadata.

Returns at least the following keys:

  source
  archname
  osname
  osvers
  oslabel
  is32bit
  is64bit
  osflag
    

Note that the 'source' key returns the commands and output used to obtain the metadata for possible future use.

Further keys may be available to provide additional information if applicable to the specific operating system.

The following links were used to understand how to retrieve the metadata:

  * http://alma.ch/perl/perloses.htm

There are no known bugs at the time of this release. However, if you spot a bug or are experiencing difficulties, that is not explained within the POD documentation, please send bug reports and patches to the RT Queue (see below).

RT Queue: http://rt.cpan.org/Public/Dist/Display.html?Name=Devel-Platform-Info

  Barbie (BARBIE) <barbie@cpan.org>
  Brian McCauley (NOBULL) <nobull67@gmail.com>
  Colin Newell (NEWELL) <newellc@cpan.org>
  Jon 'JJ' Allen (JONALLEN) <jj@jonallen.info>

  Copyright (C) 2010-2019 Birmingham Perl Mongers

  This distribution is free software; you can redistribute it and/or
  modify it under the Artistic License 2.0.
2019-08-26 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.