Devel::Platform::Info::BSD - Retrieve BSD platform metadata
use Devel::Platform::Info::BSD; my $info = Devel::Platform::Info::BSD->new(); my $data = $info->get_info();
This module is a driver to determine platform metadata regarding the BSD family of operating systems. It should be called indirectly via it's parent Devel::Platform::Info
Simply constructs the object.
Returns a hash reference to the BSD platform metadata.
Returns the following keys:
source archname osname osvers oslabel is32bit is64bit osflag kernel kname kvers
The following links were used to understand how to retrieve the metadata:
* http://nixcraft.com/all-about-freebsd-openbsd-netbsd/234-freebsd-how-find-out-kernel-version.html * http://www.netbsd.org/ports/
Thanks to Chris 'BINGOS' Williams for the pointers to the appropriate links.
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).
Barbie (BARBIE) <email@example.com> Brian McCauley (NOBULL) <firstname.lastname@example.org> Colin Newell (NEWELL) <email@example.com> Jon 'JJ' Allen (JONALLEN) <firstname.lastname@example.org>
Copyright (C) 2010-2014 Birmingham Perl Mongers This distribution is free software; you can redistribute it and/or modify it under the Artistic License 2.0.