GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PAR::FILTER (3)

.ds Aq ’

NAME

PAR::Filter - Input filter for PAR

CONTENTS

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. Similarily, pp -F Bleach applies the <B>BleachB> 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. <B>This filter is deprecated!B> 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>

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PAR::FILTER (3) 2012-01-06

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.