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 🌟


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