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

NAME

6       Sys::Info::Device
7

VERSION

9       version 0.7807
10

SYNOPSIS

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

DESCRIPTION

24       This is an interface to the available devices such as the "CPU".
25

NAME

27       Sys::Info::Device - Information about devices
28

METHODS

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

SEE ALSO

38       Sys::Info::Device::CPU, Sys::Info.
39

AUTHOR

41       Burak Gursoy <burak@cpan.org>
42
44       This software is copyright (c) 2006 by Burak Gursoy.
45
46       This is free software; you can redistribute it and/or modify it under
47       the same terms as the Perl 5 programming language system itself.
48
49
50
51perl v5.36.0                      2023-01-20              Sys::Info::Device(3)
Impressum