CSS::Parse::Packed - A CSS::Parse module packed duplicated selectors.
use CSS; my $css = CSS->new({ parser => 'CSS::Parse::Packed' });
This module is a parser for CSS.pm. It parsing CSS by regular expression based on CSS::Parse::Lite and packed duplicated selectors.
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 }
CSS, CSS::Parse::Lite
Hiroshi Sakai <ziguzagu@cpan.org>
<ziguzagu@cpan.org>
Copyright (c) 2007, Hiroshi Sakai <ziguzagu@cpan.org>. 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.
To install CSS::Parse::Packed, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CSS::Parse::Packed
CPAN shell
perl -MCPAN -e shell install CSS::Parse::Packed
For more information on module installation, please visit the detailed CPAN module installation guide.