Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Devel::Platform::Info:User(Contributed Perl DocumDevel::Platform::Info::BSD(3)

NAME
       Devel::Platform::Info::BSD - Retrieve BSD platform metadata

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

DESCRIPTION
       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

INTERFACE
   The Constructor
       o   new

	   Simply constructs the object.

   Methods
       o   get_info

	   Returns a hash reference to the BSD platform	metadata.

	   Returns the following keys:

	     source
	     archname
	     osname
	     osvers
	     oslabel
	     is32bit
	     is64bit
	     osflag

	     kernel
	     kname
	     kvers

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

	 * https://www.cyberciti.biz/faq/how-to-find-out-freebsd-version-and-patch-level-number/
	 * http://www.netbsd.org/ports/

       Thanks to Chris 'BINGOS'	Williams for the pointers to the appropriate
       links.

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 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

AUTHORS
	 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 & LICENSE
	 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.

perl v5.32.0			  2019-08-26	 Devel::Platform::Info::BSD(3)

NAME | SYNOPSIS | DESCRIPTION | INTERFACE | REFERENCES | BUGS, PATCHES & FIXES | AUTHORS | COPYRIGHT & LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Devel::Platform::Info::BSD&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help