README
1NAME
2 CSS::Compressor - Perl extension for CSS minification
3
4SYNOPSIS
5 use CSS::Compressor qw( css_compress );
6 ...
7 my $small = css_compress $css;
8
9DESCRIPTION
10 This module is an implementation of the CSS parts of Yahoo!
11 YUIcompressor in Perl. It was needed to produce minified css on the fly
12 using Perl based backend systems.
13
14FUNCTIONS
15 css_compress( $source )
16 Takes the stylesheet source, minifies it and returns the result string.
17
18SEE ALSO
19 <https://github.com/YUICompressor-NET/YUICompressor.NET>
20 YUIcompressor project homepage
21
22 <https://github.com/yui/yuicompressor>
23 YUIcompressor source repository
24
25 CSS::Packer
26 an alternative, Perl-based CSS compressor
27
28ACKNOWLEDGMENT
29 This module was originally developed for Booking.com. With approval from
30 Booking.com, this module was generalized and put on CPAN, for which the
31 author would like to express his gratitude.
32
33AUTHOR
34 Simon Bertrang, <janus@cpan.org>
35
36COPYRIGHT AND LICENSE
37 Copyright (C) 2012 by Simon Bertrang
38
39 This library is free software; you can redistribute it and/or modify it
40 under the same terms as Perl itself, either Perl version 5.12.3 or, at
41 your option, any later version of Perl 5 you may have available.
42
43