CSS::D...nstants(3pm)
π CSS::DOM::Constants β the constants page, but make it cute π
okay bestie, welcome to CSS::DOM::Constants, the lil Perl module that just... hands you every single constant CSS::DOM needs. no cap, that's the whole job. it's giving backstage pass π
β¨ VERSION β¨
Version 0.17 β yeah, we're on 0.17, and she's serving. π
πΈ SYNOPSIS πΈ
here's the vibe, fr fr:
use CSS::DOM::Constants ':all';
# or
use CSS::DOM::Constants ':rule';
# or individually
use CSS::DOM::Constants 'SYNTAX_ERR', ...;
like, grab literally everything with :all, or just one group, or β if you're feeling picky β name them one by one. main character energy either way π
π¦ DESCRIPTION π¦
so what does this module do? it provides all the constants used by CSS::DOM. that's it. that's the post. π
β¨ EXPORTS β¨
you've got options, babe, and honestly? obsessed.
you can import constants individually by name, or snag all of them with the ':all' tag. and as if that wasn't enough, you can also pass one of these tags to import a whole group of constants β and psst, these groups can also be imported from other CSS::DOM modules. iykyk. π
:exceptionβ all the constants listed under "EXPORTS" inCSS::DOM::Exception.:ruleβ all the constants listed under "EXPORTS" inCSS::DOM::Rule.:valueβ all the constants listed under "CONSTANTS" inCSS::DOM::Value.:primitiveβ all the constants listed under "CONSTANTS" inCSS::DOM::Value::Primitive.
and wait, there's more (there's always more π): there's also a %SuffixToConst hash. what does it do? it maps dimension suffixes (like 'px' β all lowercase, don't forget, she's sensitive) to CSSPrimitiveValue type constants (like "CSS_PX"). super handy. and yup, %SuffixToConst is included in the ':all' tag too, so it comes along for the ride. π«Ά
π SEE ALSO π
go give these besties a read too:
CSS::DOMCSS::DOM::ExceptionCSS::DOM::Rule
and that's the whole page, babe β no notes, 10/10, ate π this lil slice of documentation comes to you from perl v5.36.0, dated 2023-08-02. mwah, take care of her ππβ¨
π¦ where this page comes from
- debian trixie: libcss-dom-perl 0.17-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcss-dom-perl 0.17-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcss-dom-perl 0.17-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcss-dom-perl 0.17-3 Β· 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