Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Production obfuscation

by eyepopslikeamosquito (Bishop)
on Apr 21, 2012 at 12:22 UTC ( #966346=note: print w/replies, xml ) Need Help??

in reply to Production obfuscation

The conversion can make the code 10x greater in size
Yes, the sightly encoding is not very compact. Have you considered adding an extra conversion step before feeding the code to Acme::EyeDrops? Even something fairly simple, like removing all comments or unnecessary whitespace may make a significant difference. Of course, there is a risk this pre-processing step may break your code, especially with things like "here documents". There may be tools that can help here, Perl::Tidy or PPI for example, or even more specialized ones that replace long identifiers with very short ones, though I have little experience in this domain.

Replies are listed 'Best First'.
Re^2: Production obfuscation
by Anonymous Monk on Apr 21, 2012 at 13:40 UTC
    Perltidy's -dac -mangle switches should do it.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://966346]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2021-07-31 18:37 GMT
Find Nodes?
    Voting Booth?

    No recent polls found