PAR::Filter(3pm) User Contributed Perl Documentation PAR::Filter(3pm) NAME PAR::Filter - Input filter for PAR SYNOPSIS $code = 'use strict; print "Hello, World!\n";'; $ref = PAR::Filter->new('PodStrip', 'Bleach')->apply(\$code); print $code; # pod-stripped and obfuscated code print $$ref; # same thing $ref = PAR::Filter->new('PodStrip', 'Bleach')->apply('file.pl'); print $$ref; # same thing, applied to file.pl DESCRIPTION Starting with PAR 0.76, "pp -f" takes a filter name, like "Bleach", and invokes this module to transform the programs with PAR::Filter::Bleach. Similarly, "pp -F Bleach" applies the Bleach filter to all included modules. It is possible to pass in multiple such filters, which are applied in turn. The output of each such filter is expected be semantically equivalent to the input, although possibly obfuscated. The default list of filters include: o PAR::Filter::Bleach The archetypical obfuscating filter. o PAR::Filter::Obfuscate Use B::Deobfuscate to strip away indents and comments, as well as mangling variable names. o PAR::Filter::PatchContent Fix PAR-incompatible modules, applied to modules by default. o PAR::Filter::PodStrip Strip away POD sections, applied to modules by default. o PAR::Filter::Bytecode Use B::Bytecode to strip away indents and comments. This filter is deprecated! For source hiding, have a look at PAR::Filter::Crypto instead and make sure to read about its caveats. AUTHORS Audrey Tang <firstname.lastname@example.org> COPYRIGHT Copyright 2003-2009 by Audrey Tang <email@example.com>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See LICENSE. perl v5.20.2 2016-12-19 PAR::Filter(3pm)
Czas wygenerowania: 0.00050 sek.
Created with the man page lookup class by Andrew Collington.
Based on a C man page viewer by Vadim Pavlov
Unicode soft-hyphen fix (as used by RedHat) by Dan Edwards
Some optimisations by Eli Argon
Caching idea and code contribution by James Richardson
Copyright © 2003-2021 Linux.pl
Hosted by Hosting Linux.pl