CSS::DOM::Util(3pm) | User Contributed Perl Documentation | CSS::DOM::Util(3pm) |
CSS::DOM::Util - Utility functions for dealing with CSS tokens
Version 0.17
use CSS::DOM::Util ':all'; # or: use CSS::DOM::Util qw[ escape unescape escape_ident unescape_url escape_str unescape_str ];
This module provides utility functions for dealing with CSS tokens.
All functions below that take one argument have a "($)" prototype, so they have the same precedence as "closedir" and "delete".
Printable non-alphanumeric ASCII characters and the space character are escaped with a single backslash. Other characters are encoded in hexadecimal.
"escape" also considers that you might want to include the escaped string in a larger string, so it appends a space if the escaped string ends with a hexadecimal escape with fewer than six digits.
CSS::DOM
2023-08-02 | perl v5.36.0 |