NAME

CSS::Object::Comment - CSS Object Oriented Comment

SYNOPSIS

use CSS::Object::Comment;
my $cmt = CSS::Object::Comment->new( "No comment" ) ||
    die( CSS::Object::Comment->error );

VERSION

v0.2.0

DESCRIPTION

CSS::Object::Comment represent a comment inside a style sheet.

Comments can appear anywhere between rules or inside rules between properties.

CONSTRUCTOR

new

It take either a string or an array reference of string representing comment data.

It also takes the following optional arguments.

debug

This is an integer. The bigger it is and the more verbose is the output.

format

This is a CSS::Object::Format object or one of its child modules.

METHODS

as_string

This stringify the comment, formatting it propertly

format

This is a CSS::Object::Format object or one of its child modules.

values

This sets or returns the array object containing the comment lines. This is a Module::Generic::Array object.

AUTHOR

Jacques Deguest <jack@deguest.jp>

SEE ALSO

CSS::Object

COPYRIGHT & LICENSE

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.