1Sys::Info::Constants(3)User Contributed Perl DocumentatioSnys::Info::Constants(3)
2
3
4
6 Sys::Info::Constants
7
9 version 0.7807
10
12 use Sys::Info::Constants qw( :device_cpu );
13 printf "CPU Load: %s\n", $cpu->load(DCPU_LOAD_LAST_01);
14
16 This module defines all the constants used inside "Sys::Info" and it's
17 subclasses.
18
20 Sys::Info::Constants - Constants for Sys::Info
21
23 Every constant can be imported individually or via import keys:
24
25 Import Key Constant
26 ------------ -----------------
27 :device_cpu DCPU_LOAD_LAST_01
28 DCPU_LOAD_LAST_05
29 DCPU_LOAD_LAST_10
30 DCPU_LOAD
31
32 :windows_reg WIN_REG_HW_KEY
33 WIN_REG_CPU_KEY
34 WIN_REG_CDKEY
35 WIN_REG_OCDKEY
36
37 :windows_wmi WIN_WMI_DATE_TMPL
38
39 :windows_etc WIN_B24_DIGITS
40 WIN_USER_INFO_LEVEL
41
42 :date DATE_WEEKDAYS
43 DATE_MONTHS
44 DATE_MKTIME_YDAY
45 DATE_MKTIME_ISDST
46
47 :general OSID
48
49 OSID
50 The Operating System name used inside all "Sys::Info" modules.
51
53 Sys::Info.
54
56 Burak Gursoy <burak@cpan.org>
57
59 This software is copyright (c) 2006 by Burak Gursoy.
60
61 This is free software; you can redistribute it and/or modify it under
62 the same terms as the Perl 5 programming language system itself.
63
64
65
66perl v5.32.1 2021-01-27 Sys::Info::Constants(3)