GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Compressor(3) User Contributed Perl Documentation Compressor(3)

CSS::Compressor - Perl extension for CSS minification

  use CSS::Compressor qw( css_compress );
  ...
  my $small = css_compress $css;

This module is an implementation of the CSS parts of Yahoo! YUIcompressor in Perl. It was needed to produce minified css on the fly using Perl based backend systems.

Takes the stylesheet source, minifies it and returns the result string.

<https://github.com/YUICompressor-NET/YUICompressor.NET>
YUIcompressor project homepage
<https://github.com/yui/yuicompressor>
YUIcompressor source repository
CSS::Packer
an alternative, Perl-based CSS compressor

This module was originally developed for Booking.com. With approval from Booking.com, this module was generalized and put on CPAN, for which the author would like to express his gratitude.

Simon Bertrang, <janus@cpan.org>

Copyright (C) 2012 by Simon Bertrang

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.3 or, at your option, any later version of Perl 5 you may have available.

2018-12-03 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.