NAME
Acme::Minify - Minify that long Perl code
VERSION
version 0.07
SYNOPSIS
Acme::Minify minifies Perl code.
use Acme::Minify qw(minify);
my $short_code = minify( $long_code );
DESCRIPTION
This packages removes most of the unnecessary characters from Perl code.
Comments are removed
POD is removed
Quoted strings (" ' `) and regexes are preserved
\t and \n are converted in whitespaces
__DATA__ and __END__ are preserved
Spaces are removed if it doesn't affect syntax correcteness
EXPORT
The module exports the subroutine 'minify' on request.
SUBROUTINES
minify( $long_code )
Minify the given source code
AUTHOR
Alessandro Ghedini <alexbio@cpan.org>
ACKNOWLEDGEMENTS
This module is highly unstable and his behaviour could be unpredictable in some cases as it has not been tested very deeply. Just to make things obvious, it is not intended for production code.
LICENSE AND COPYRIGHT
Copyright 2010 Alessandro Ghedini.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.