1CSS::DOM::Constants(3)User Contributed Perl DocumentationCSS::DOM::Constants(3)
2
3
4
6 CSS::DOM::Constants - Constants for CSS::DOM
7
9 Version 0.17
10
12 use CSS::DOM::Constants ':all';
13
14 # or
15
16 use CSS::DOM::Constants ':rule';
17
18 # or individually
19
20 use CSS::DOM::Constants 'SYNTAX_ERR', ...;
21
23 This module provides all the constants used by CSS::DOM.
24
26 You can import individual constants by name, or all of them with the
27 ':all' tag. In addition, you can specify one of the following tags, to
28 import a group of constants (which can also be imported from other
29 CSS::DOM modules):
30
31 :exception
32 All the constants listed under "EXPORTS" in CSS::DOM::Exception.
33
34 :rule
35 All the constants listed under "EXPORTS" in CSS::DOM::Rule.
36
37 :value
38 All the constants listed under "CONSTANTS" in CSS::DOM::Value.
39
40 :primitive
41 All the constants listed under "CONSTANTS" in
42 CSS::DOM::Value::Primitive.
43
44 There is also a %SuffixToConst hash which maps dimension suffixes (such
45 as 'px'; all lowercase) to CSSPrimitiveValue type constants (such as
46 "CSS_PX"). This is included in the ':all' tag.
47
49 CSS::DOM
50
51 CSS::DOM::Exception
52
53 CSS::DOM::Rule
54
55
56
57perl v5.32.0 2020-07-28 CSS::DOM::Constants(3)