Architecturing CSS is hard. We (usually) don't treat CSS as part of the codebase and this leads to a lack of tools and patterns to build big site's styles.
LESS, SASS and family help, but still there are a lot of issues on maintaining, testing, extending and distributing big or complex styles. We have tools to deal with these issues in programming languages, why not with CSS?
I'll share some of my thoughts and show proofs of concept about how we can use Perl (and CPAN!) to address this situation.