PAR::Filter man page on OpenServer

Man page or keyword search:  
man Server   5388 pages
apropos Keyword Search (all sections)
Output format
OpenServer logo
[printable version]

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

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.
       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:

       * PAR::Filter::Bleach
	   The archetypical obfuscating filter.

       * PAR::Filter::Bytecode
	   Use B::Bytecode to strip away indents and comments.

       * PAR::Filter::Obfuscate
	   Use B::Deobfuscate to strip away indents and comments, as well as
	   mangling variable names.

       * PAR::Filter::PatchContent
	   Fix PAR-incompatible modules, applied to modules by default.

       * PAR::Filter::PodStrip
	   Strip away POD sections, applied to modules by default.

AUTHORS
       Audrey Tang <cpan@audreyt.org>

COPYRIGHT
       Copyright 2003, 2004, 2005, 2006 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.8.8			  2006-05-30			PAR::Filter(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OpenServer

List of man pages available for OpenServer

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net