Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ziguzagu/perl-css-parse-packed
Alternate CSS::Parse module to pack duplicated selectors.
https://github.com/ziguzagu/perl-css-parse-packed
cpan perl
Last synced: about 2 months ago
JSON representation
Alternate CSS::Parse module to pack duplicated selectors.
- Host: GitHub
- URL: https://github.com/ziguzagu/perl-css-parse-packed
- Owner: ziguzagu
- License: other
- Created: 2009-04-27T06:11:18.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2016-11-26T13:47:28.000Z (about 8 years ago)
- Last Synced: 2024-10-15T10:17:19.399Z (3 months ago)
- Topics: cpan, perl
- Language: Perl
- Homepage:
- Size: 34.2 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/ziguzagu/perl-css-parse-packed.svg?branch=master)](https://travis-ci.org/ziguzagu/perl-css-parse-packed)
# NAMECSS::Parse::Packed - A CSS::Parse module packed duplicated selectors.
# SYNOPSIS
use CSS;
my $css = CSS->new({ parser => 'CSS::Parse::Packed' });# DESCRIPTION
This module is a parser for CSS.pm. It parsing CSS by regular expression
based on CSS::Parse::Lite and packed duplicated selectors.# EXAMPLE
Original is:
body { background-color:#FFFFFF; font-size: 1em; }
body { padding:6px; font-size: 1.5em; }After parsing:
body { padding: 6px; background-color: #FFFFFF; font-size: 1.5em }
# SEE ALSO
[CSS](https://metacpan.org/pod/CSS), [CSS::Parse::Lite](https://metacpan.org/pod/CSS::Parse::Lite)
# AUTHOR
Hiroshi Sakai ``
# LICENCE AND COPYRIGHT
Copyright (c) 2007, Hiroshi Sakai ``. All rights reserved.
This module is free software; you can redistribute it and/or
modify it under the same terms as Perl itself. See [perlartistic](https://metacpan.org/pod/perlartistic).