CSS::Parse::Lite(3pm)

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

✨ CSS::Parse::Lite πŸ’…

okay so bestie, welcome to CSS::Parse::Lite β€” it's a Perl module, it lives in the User Contributed Perl Documentation section of the manual (that's the (3pm) bit, iykyk), and it's genuinely so iconic for one specific reason: it parses CSS using regular expressions. yes. regex. the whole thing. we love a chaotic queen. πŸ‘‘


πŸŽ€ NAME πŸŽ€

CSS::Parse::Lite β€” a CSS::Parse module that does its thing with regular expressions. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

the vibe check, in code form:

use CSS;

# Create a css stylesheet
my $CSS = CSS->new({'parser' => 'CSS::Parse::Lite'});

so you load up CSS, and when you spin up a new stylesheet you just hand it 'parser' => 'CSS::Parse::Lite' in that little hashref and she's off. πŸ’–


🌸 DESCRIPTION 🌸

this module is a parser for CSS.pm. that's literally the whole job. she doesn't do anything else, she doesn't want to do anything else.

if you want the actual details β€” the lore, the backstory, the full picture β€” go read the CSS.pm pod. that's where the real tea is. β˜•


πŸ’œ AUTHOR πŸ’œ

Copyright (C) 2003-2004, Cal Henderson <cal@iamcal.com>

shoutout to Cal, fr fr. 🫢


🌈 SEE ALSO 🌈


πŸ’€ warning bestie: this is the Lite parser. it's regex-based. don't go expecting the deluxe treatment.

and that's the whole page!! no notes. this is perl v5.32.0 era, dated 2020-12-29, from the CSS::Parse::Lite(3pm) manual β€” mwah, periodt. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from