CSS::DOM::Constants - Constants for CSS::DOM
Version 0.17
use CSS::DOM::Constants ':all'; # or use CSS::DOM::Constants ':rule'; # or individually use CSS::DOM::Constants 'SYNTAX_ERR', ...;
This module provides all the constants used by CSS::DOM.
You can import individual constants by name, or all of them with the ':all' tag. In addition, you can specify one of the following tags, to import a group of constants (which can also be imported from other CSS::DOM modules):
All the constants listed under "EXPORTS" in CSS::DOM::Exception.
All the constants listed under "EXPORTS" in CSS::DOM::Rule.
All the constants listed under "CONSTANTS" in CSS::DOM::Value.
All the constants listed under "CONSTANTS" in CSS::DOM::Value::Primitive.
There is also a %SuffixToConst hash which maps dimension suffixes (such as 'px'; all lowercase) to CSSPrimitiveValue type constants (such as CSS_PX). This is included in the ':all' tag.
%SuffixToConst
CSS_PX
CSS::DOM
CSS::DOM::Exception
CSS::DOM::Rule
To install CSS::DOM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CSS::DOM
CPAN shell
perl -MCPAN -e shell install CSS::DOM
For more information on module installation, please visit the detailed CPAN module installation guide.