CSS::Ob...Comment(3)

πŸ“¦ version 0.2.0, in alpine 3.24

πŸŽ€ NAME πŸŽ€

okay bestie, this is CSS::Ob...Comment(3) β€” a User Contributed Perl Documentation page β€” and it’s all about CSS::Object::Comment, aka CSS Object Oriented Comment. It represents a comment inside a style sheet. Comments can appear anywhere between rules or inside rules between properties. obsessed.

✨ SYNOPSIS ✨

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

πŸ’– VERSION πŸ’–

v0.2.0 β€” that’s the version, periodt. πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

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

Comments can appear anywhere between rules or inside rules between properties. it’s giving very flexible comment energy.

πŸ’… CONSTRUCTOR πŸ’…

new

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

It also takes these optional arguments:

  • debug β€” this is an integer. The bigger it is, the more verbose the output is.
  • format β€” this is a CSS::Object::Format object or one of its child modules.

πŸ¦‹ METHODS πŸ¦‹

as_string

This stringifies the comment, formatting it properly. slay.

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. That object is a Module::Generic::Array object. iykyk.

🌈 AUTHOR 🌈

Jacques Deguest <jack@deguest.jp> β€” iconic. πŸ’–

πŸ‘‘ SEE ALSO πŸ‘‘

CSS::Object β€” go peek, bestie. πŸ‘€

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.


and that’s the whole page, bestie! signing off from perl v5.42.2, dated 2026-02-15, for CSS::Ob...Comment(3) πŸ’…βœ¨

πŸ“¦ where this page comes from