CSS::Object::Parser - CSS Object Oriented Parser
use CSS::Object::Parser; my $parser = CSS::Object::Parser->new( debug => 3 ); my $rules = $parser->parse_string( $css_text_data ) || die( CSS::Object::Parser->error ); printf( "Found %d rules\n", $rules->length );
v0.1.0
CSS::Object::Parser is base CSS parser for CSS::Object
To instantiate a new CSS::Object::Parser object, pass an hash reference of following parameters:
This is an integer. The bigger it is and the more verbose is the output.
This is a CSS::Object::Format object or one of its child modules.
This sets or gets a CSS::Object object. This object is used to create css elements and store them with the "add_element" in CSS::Object method.
In this base module, this method does nothing but trigger an error that it should not be called directly, but instead use this module sub classes.
Jacques Deguest <jack@deguest.jp>
CSS::Object
Copyright (c) 2020 DEGUEST Pte. Ltd.
You can use, copy, modify and redistribute this package and associated files under the same terms as Perl itself.
To install CSS::Object, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CSS::Object
CPAN shell
perl -MCPAN -e shell install CSS::Object
For more information on module installation, please visit the detailed CPAN module installation guide.