Acme::Bleach(3pm) User Contributed Perl Documentation Acme::Bleach(3pm)NAME
Acme::Bleach - For really clean programs
SYNOPSIS
use Acme::Bleach;
print "Hello world";
DESCRIPTION
The first time you run a program under "use Acme::Bleach", the module removes all the unsightly printable characters from your source file.
The code continues to work exactly as it did before, but now it looks like this:
use Acme::Bleach;
DIAGNOSTICS
"Can't bleach '%s'"
Acme::Bleach could not access the source file to modify it.
"Can't rebleach '%s'"
Acme::Bleach could not access the source file to execute it.
SEE ALSO
http://www.templetons.com/tech/proletext.html
AUTHOR
Damian Conway (as if you couldn't guess)
COPYRIGHT
Copyright (c) 2001, Damian Conway. All Rights Reserved.
This module is free software. It may be used, redistributed
and/or modified under the terms of the Perl Artistic License
(see http://www.perl.com/perl/misc/Artistic.html)
perl v5.12.3 2011-06-29 Acme::Bleach(3pm)
Check Out this Related 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.18.2 2012-01-06 PAR::Filter(3)