Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Production obfuscation

by eyepopslikeamosquito (Archbishop)
on Apr 21, 2012 at 12:22 UTC ( [id://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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2024-04-19 11:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found