Sys::Info::Device - Information about devices
use Sys::Info; my $info = Sys::Info->new; my $device = $info->device( $device_id ); my @available = $info->device('available');
or
use Sys::Info::Device; my $device = Sys::Info::Device->new( $device_id ); my @available = Sys::Info::Device->new('available');
This document describes version 0.7802 of Sys::Info::Device released on 31 July 2011.
0.7802
Sys::Info::Device
31 July 2011
This is an interface to the available devices such as the CPU.
CPU
Returns an object to the related device or dies if DEVICE_ID is bogus or false.
DEVICE_ID
If DEVICE_ID has the value of available, then the names of the available devices will be returned.
available
Sys::Info::Device::CPU, Sys::Info.
Burak Gursoy <burak@cpan.org>.
Copyright 2006 - 2011 Burak Gursoy. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.3 or, at your option, any later version of Perl 5 you may have available.
To install Sys::Info::Base, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sys::Info::Base
CPAN shell
perl -MCPAN -e shell install Sys::Info::Base
For more information on module installation, please visit the detailed CPAN module installation guide.