Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

par::filter(3) [osx man page]

PAR::Filter(3)						User Contributed Perl Documentation					    PAR::Filter(3)

NAME
PAR::Filter - Input filter for PAR SYNOPSIS
$code = 'use strict; print "Hello, World! ";'; $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. Similarily, "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 <cpan@audreyt.org> COPYRIGHT
Copyright 2003-2009 by Audrey Tang <cpan@audreyt.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> perl v5.16.2 2012-01-06 PAR::Filter(3)

Check Out this Related Man Page

PAR::Filter::Bytecode(3pm)				User Contributed Perl Documentation				PAR::Filter::Bytecode(3pm)

NAME
PAR::Filter::Bytecode - Bytecode filter SYNOPSIS
PAR::Filter::Bytecode->apply($code); # transforms $code DESCRIPTION
This filter is deprecated. The B::Bytecode code has been removed from the newest development series of perl and will not be included in perl 5.10 any more. Please have a look at Steve Hay's PAR::Filter::Crypto module if you want to hide your sources. This filter uses B::Bytecode to turn the script into comment-free, architecture-specific Perl bytecode, and uses ByteLoader to load back on execution. For pp users, please add an extra -M option, like this: pp -f Bytecode -M ByteLoader Otherwise, the implicit dependency on ByteLoader will not be detected. CAVEATS
This backend exhibits all bugs listed in B::Bytecode, and then some. Bytecode support is considered to be extremely fragile on Perl versions earlier than 5.8.1, and is still far from robust (as of this writing). Bytecode is not supported by perl 5.9 and later. SEE ALSO
PAR::Filter, B::Bytecode, ByteLoader Filter::Crypto, PAR::Filter::Crypto AUTHORS
Audrey Tang <cpan@audreyt.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@rt.cpan.org>. COPYRIGHT
Copyright 2003-2009 by Audrey Tang <cpan@audreyt.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> perl v5.14.2 2011-03-22 PAR::Filter::Bytecode(3pm)
Man Page