1Sys::Info::Device(3)  User Contributed Perl Documentation Sys::Info::Device(3)
2
3
4

NAME

6       Sys::Info::Device - Information about devices
7

SYNOPSIS

9           use Sys::Info;
10           my $info      = Sys::Info->new;
11           my $device    = $info->device( $device_id );
12           my @available = $info->device('available');
13
14       or
15
16           use Sys::Info::Device;
17           my $device    = Sys::Info::Device->new( $device_id );
18           my @available = Sys::Info::Device->new('available');
19

DESCRIPTION

21       This document describes version 0.7804 of "Sys::Info::Device" released
22       on "21 January 2015".
23
24       This is an interface to the available devices such as the "CPU".
25

METHODS

27   new DEVICE_ID
28       Returns an object to the related device or dies if "DEVICE_ID" is bogus
29       or false.
30
31       If "DEVICE_ID" has the value of "available", then the names of the
32       available devices will be returned.
33

SEE ALSO

35       Sys::Info::Device::CPU, Sys::Info.
36

AUTHOR

38       Burak Gursoy <burak@cpan.org>.
39
41       Copyright 2006 - 2015 Burak Gursoy. All rights reserved.
42

LICENSE

44       This library is free software; you can redistribute it and/or modify it
45       under the same terms as Perl itself, either Perl version 5.16.2 or, at
46       your option, any later version of Perl 5 you may have available.
47
48
49
50perl v5.28.0                      2018-07-15              Sys::Info::Device(3)
Impressum