Sys::I...stants(3pm)
π NAME π
okay so <pink>Sys::Info::Constants</pink> bestie π β that's the name, that's the whole vibe, it's the constants module.
β¨ VERSION β¨
version 0.7810 β that's the one, that's the era we're living in π
π¦ SYNOPSIS π¦
the way you use this?? literally just:
use Sys::Info::Constants qw( :device_cpu );
printf "CPU Load: %s\n", $cpu->load(DCPU_LOAD_LAST_01);
look at her go πβ¨
πΈ DESCRIPTION πΈ
so this module is the β¨keeper of the constantsβ¨ β it defines all the constants used inside <hotpink>Sys::Info</hotpink> and it's subclasses. no cap. every single one lives here π«Ά
π NAME π
and yes bestie, there are two NAME sections in this manpage, and honestly? iconic. here's the second one:
Sys::Info::Constants - Constants for Sys::Info π
π CONSTANTS π
listen. every constant can be imported individually OR via import keys. choose your own adventure, no wrong answers π
here's the whole roster, verbatim, zero edits, never skipping a single one:
Import Key Constant
------------ -----------------
:device_cpu DCPU_LOAD_LAST_01
DCPU_LOAD_LAST_05
DCPU_LOAD_LAST_10
DCPU_LOAD
:windows_reg WIN_REG_HW_KEY
WIN_REG_CPU_KEY
WIN_REG_CDKEY
WIN_REG_OCDKEY
:windows_wmi WIN_WMI_DATE_TMPL
:windows_etc WIN_B24_DIGITS
WIN_USER_INFO_LEVEL
:date DATE_WEEKDAYS
DATE_MONTHS
DATE_MKTIME_YDAY
DATE_MKTIME_ISDST
:general OSID
like okay :device_cpu, :windows_reg, :windows_wmi, :windows_etc, :date, :general?? it's giving β¨organizedβ¨ and we love that for us π§
β¨οΈ OSID β¨οΈ
this one is the Operating System name that gets used inside all the <hotpink>Sys::Info</hotpink> modules. she's everywhere, she's the main character π
π SEE ALSO π
go look at <cyan>Sys::Info</cyan> bestie, it's right there π
π AUTHOR π
Burak Gursoy β the author, the legend, the moment π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2006 by Burak Gursoy. fr fr.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt. π«Ά
and that's the whole page bestie!! β¨ this little masterpiece came to you via perl v5.40.1, dated 2025-10-07, filed under Sys::I...stants(3pm) πππ¦ go import something, ily, byeee ππ
π¦ where this page comes from
- ubuntu resolute: libsys-info-base-perl 0.7810-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libsys-info-base-perl 0.7810-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms