The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

PAR::Filter::Squish - PAR filter for reducing code size

SYNOPSIS

    # transforms $code
    PAR::Filter::Squish->apply(\$code, $filename, $name);

DESCRIPTION

This filter uses Perl::Squish to reduce the size of a module as much as possible.

It does not preserve line numbers, comments or documentation.

Do not expect miracles. Unless you include a lot of modules, the major component of a binary produced by pp will be shared object files and the perl run-time.

METHODS

apply

Class method which applies the filter to source code. Expects a reference to the code string as first argument optionally followed by file and module name. Those names are particularily accepted for compatibility to other PAR filters.

SEE ALSO

PAR

PAR::Filter

Perl::Squish

AUTHORS

Steffen Mueller <smueller@cpan.org>

http://par.perl.org/ is the official PAR website. You can write to the mailing list at <par@perl.org>, or send an empty mail to <par-subscribe@perl.org> to participate in the discussion.

Please submit bug reports to <bug-par-filter-squish@rt.cpan.org>.

COPYRIGHT

Copyright 2006-2008 by Steffen Mueller <smueller@cpan.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://www.perl.com/perl/misc/Artistic.html