CSS::Selector(3pm)

πŸ“¦
version 1.09 Β· 4 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– CSS::Selector πŸ’–

okay bestie, so this is the CSS::Selector page from the User Contributed Perl Documentation section (that's the 3pm manual, iykyk) β€” and honestly? it's giving tiny but mighty. it's literally just one little selector in a whole CSS object tree. adorable. let's get into it πŸŽ€


✨ NAME ✨

CSS::Selector β€” a selector in a CSS object tree πŸ¦‹

like, it's a selector. in a CSS object tree. that's the whole vibe.


🌸 SYNOPSIS 🌸

  use CSS;

that's it. that's the whole thing. short king behavior fr fr πŸ’…


🫢 DESCRIPTION 🫢

so this module represents a selector inside a CSS object tree, periodt. that's its whole job and it's doing it beautifully, no cap πŸ’œ

if you wanna actually understand the CSS object tree (the big picture, the lore, the whole cinematic universe), go read the CSS.pm pod. this page is just the selector's little corner of it, and it's not gonna recap all of that for you, bestie πŸ™ˆ


πŸ’… METHODS πŸ’…

πŸ‘‘ CONSTRUCTORS πŸ‘‘

  • new() or new( { ..options.. } ) β€” this one returns a brand new CSS::Selector object for you, and you can pass it an optional hash of options if you're feeling fancy ✨

the options you can hand over are:

  • name β€” the selector name (as a string) πŸ“
  • adaptor β€” the adaptor to use for serialization πŸ”₯

🌈 ACCESSORS 🌈

  • set_adaptor( 'CSS::Adaptor::Foo' ) β€” this method sets the current adaptor for the object. that's it, that's the whole method, iconic behavior ⭐

πŸ’œ AUTHOR πŸ’œ

Copyright (C) 2003-2004, Cal Henderson <cal@iamcal.com> β€” shoutout to the legend for making this back in the day, we love a pioneer πŸ«‘πŸ’–


πŸ”₯ SEE ALSO πŸ”₯

go read those if you want the full picture, bestie, the CSS module is literally right there 🧚


and that's a wrap!! this page was served up by perl v5.32.0, dated 2020-12-29 πŸ’« thanks for reading the whole thing, you ate that fr fr, mwah πŸ˜­πŸ’–

πŸ“¦ where this page comes from