Seeing that the eval-based Bleach was causing troubles, and support for B::Bytecode is not satisfactory (especially for 5.6.x users), I hacked up yet another filter today: "PAR::Filter::Obfuscate".
Ironically, it uses the B::Deobfuscate CPAN module, to mangle the
names of all variables in the program, as well as stripping away
POD sections and comments.
Unlike the Bytecode filter, the result is platform-independent,
and stands a better chance of working well.
People interested in trying this out can download the snapshot:
http://p4.elixus.org/snap/PAR.tar.gz
and either install it, or manually copy lib/PAR/Filter/Obfuscate.pm
to your site/lib/PAR/Filter/ directory. You also need to install
B::Deobfuscate separately from CPAN.
Please let me know if it works better (or worse) than the Bleach
and Bytecode filters.
Apologies to Joshua, author of B::Deobfuscate (Cc'ed), for abusing
his work in the totally opposite direction. :-)
Thanks,
/Autrijus/
pgp00000.pgp
Description: PGP signature
