Rechercher une page de manuel
HTML::Packer.3pm
Langue: en
Version: 2009-02-14 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
HTML::Packer - Another HTML code cleanerVERSION
Version 0.4SYNOPSIS
use HTML::Packer; HTML::Packer::minify( $scalarref, $opts );
DESCRIPTION
A HTML Compressor.FUNCTIONS
HTML::Packer::minify( $scalarref, $opts );
First argument must be a scalarref of HTML-Code. Second argument must be a hashref of options. Possible options are- remove_comments
- HTML-Comments will be removed if 'remove_comments' has a true value.
- remove_newlines
- ALL newlines will be removed if 'remove_newlines' has a true value.
- do_javascript
- Defines compression level for javascript. Possible values are 'minify', 'shrink' and 'base62'. Default is no compression for javascript. This option only takes effect if JavaScript::Packer is installed.
- do_stylesheet
- Defines compression level for CSS. Possible values are 'minify' and 'pretty'. Default is no compression for CSS. This option only takes effect if CSS::Packer is installed.
AUTHOR
Merten Falk, "<nevesenin at cpan.org>"BUGS
Please report any bugs or feature requests to "bug-html-packer at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTML-Packer>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.SUPPORT
You can find documentation for this module with the perldoc command.perldoc HTML::Packer
COPYRIGHT & LICENSE
Copyright 2009 Merten Falk, all rights reserved.This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
HTML::CleanContenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre