CSS::Ob...Element(3)
π 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 aCSS::Object::Formatobject 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 hashead1 AUTHORsitting in theformatsection instead of a real heading, so Iβm keeping it exactly like that:head1 AUTHORJacques Deguest <jack@deguest.jp>
π₯ SEE ALSO π₯
CSS::Objectβ the one and only reference here, bestie.
π 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.
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
- alpine 3.24: perl-css-object-doc 0.2.0-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms