- COPYRIGHT AND LICENSE
System::Info::Base - Baseclass for system information.
Return a new instance for $^O
This method should be overridden by platform specific subclasses.
The generic information is taken from
- $self->_hostname => (POSIX::uname)
- $self->_os => join " - " => (POSIX::uname)[0,2]
- $self->_osname => (POSIX::uname)
- $self->_osvers => (POSIX::uname)
- $self->_cpu_type => (POSIX::uname)
- $self->_cpu => (POSIX::uname)
- $self->_cpu_count => ""
This class gathers most of the
uname(1) info, make a comparable version. Takes almost the same arguments:
a for all (can be omitted) n for nodename s for os name and version m for cpu name c for cpu count p for cpu_type
Just a backward compatible way to dump the object (for test suite).
(c) 2016-2017, Abe Timmerman & H.Merijn Brand, All rights reserved.
With contributions from Jarkko Hietaniemi, Campo Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop, Rich Rauenzahn, David Cantrell.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.