1Sys::Info::Constants(3)User Contributed Perl DocumentatioSnys::Info::Constants(3)
2
3
4
6 Sys::Info::Constants - Constants for Sys::Info
7
9 use Sys::Info::Constants qw( :device_cpu );
10 printf "CPU Load: %s\n", $cpu->load(DCPU_LOAD_LAST_01);
11
13 This document describes version 0.7804 of "Sys::Info::Constants"
14 released on "21 January 2015".
15
16 This module defines all the constants used inside "Sys::Info" and it's
17 subclasses.
18
20 Every constant can be imported individually or via import keys:
21
22 Import Key Constant
23 ------------ -----------------
24 :device_cpu DCPU_LOAD_LAST_01
25 DCPU_LOAD_LAST_05
26 DCPU_LOAD_LAST_10
27 DCPU_LOAD
28
29 :windows_reg WIN_REG_HW_KEY
30 WIN_REG_CPU_KEY
31 WIN_REG_CDKEY
32 WIN_REG_OCDKEY
33
34 :windows_wmi WIN_WMI_DATE_TMPL
35
36 :windows_etc WIN_B24_DIGITS
37 WIN_USER_INFO_LEVEL
38
39 :date DATE_WEEKDAYS
40 DATE_MONTHS
41 DATE_MKTIME_YDAY
42 DATE_MKTIME_ISDST
43
44 :general OSID
45
46 OSID
47 The Operating System name used inside all "Sys::Info" modules.
48
50 Sys::Info.
51
53 Burak Gursoy <burak@cpan.org>.
54
56 Copyright 2006 - 2015 Burak Gursoy. All rights reserved.
57
59 This library is free software; you can redistribute it and/or modify it
60 under the same terms as Perl itself, either Perl version 5.16.2 or, at
61 your option, any later version of Perl 5 you may have available.
62
63
64
65perl v5.28.0 2018-07-15 Sys::Info::Constants(3)