Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Production obfuscation

by eyepopslikeamosquito (Chancellor)
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.

Comment on Re: Production obfuscation
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
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 having an uproarious good time at the Monastery: (6)
As of 2015-11-28 07:05 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (739 votes), past polls