Devel::Platform::Info::Linux - Retrieve Linux platform metadata
use Devel::Platform::Info::Linux;
my $info = Devel::Platform::Info::Linux->new();
my $data = $info->get_info();
This module is a driver to determine platform metadata regarding the Linux
operating system. It should be called indirectly via it's parent
Devel::Platform::Info
- •
- new
Simply constructs the object.
- •
- get_info
Returns a hash reference to the Linux platform metadata.
Returns the following keys:
source
archname
osname
osvers
oslabel
is32bit
is64bit
osflag
codename
kernel
kname
kvers
The following links were used to understand how to retrieve the metadata:
* http://distrowatch.com/
* Wikipedia pages for various Linux and Unix based OSes
* http://search.cpan.org/dist/Sys-Info-Driver-Linux
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.