CSS::Ob...Element(3)

πŸ“¦ version 0.2.0, in alpine 3.24

πŸŽ€ CSS::Object::Element β€” CSS Object Oriented Element πŸŽ€

okay bestie, this is manual page CSS::Ob...Element(3) from the User Contributed Perl Documentation pile, and it’s giving β€œbase class main character energy” fr fr. πŸ’…

✨ NAME ✨

CSS::Object::Element β€” CSS Object Oriented Element

🌸 SYNOPSIS 🌸

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

πŸ¦‹ VERSION πŸ¦‹

v0.2.0 β€” that’s the version, no cap. πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

CSS::Object::Element is a base class for all CSS::Object elements that get added to the style sheet. That’s the whole vibe: it’s the blueprint parent class, the icon, the moment. ✨

πŸ‘‘ CONSTRUCTOR πŸ‘‘

🌟 new 🌟

This is the base method to instantiate object. It takes by default the following arguments and instantiate a CSS::Object::Format object if none was provided.

  • 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 πŸ’…

πŸŽ€ add_to πŸŽ€

Provided with a CSS::Object, this adds our object to the css object array of elements by calling "add_element" in CSS::Object. Elements here are top level elements which are css rules. Periodt. πŸ’«

🫢 as_string 🫢

This method must be overridden by the child class. Like, literally must β€” no default slay here. 😭

🌈 format 🌈

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

ngl, the original page literally has head1 AUTHOR sitting in the format section instead of a real heading, so I’m keeping it exactly like that: head1 AUTHOR Jacques Deguest <jack@deguest.jp>

πŸ”₯ SEE ALSO πŸ”₯

  • CSS::Object β€” the one and only reference here, 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.


That’s the whole page, bestie. This little manual is from perl v5.42.2, dated 2026-02-15, and the manual name is CSS::Ob...Element(3). πŸ’œπŸ«Ά

πŸ“¦ where this page comes from