Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Hiding your Script

by bart (Canon)
on May 30, 2005 at 11:33 UTC ( #461764=note: print w/replies, xml ) Need Help??

in reply to Hiding your Script

A Java .class file isn't actually safe, decompilers like Jad can turn them back into Java source.

That said: no, in principle, there's no proper way to "obfuscate" perl source so nobody can read it. There are joke modules, like Acme::Pony which can baffle newbies, but perl source has to be deobfuscated before perl can run it, and it's possible to insert a handler that prints out the deobfuscated source at that point.

Packagers like perl2exe, PerlApp and maybe even PAR can help easing distributing your perl application while somewhat hiding the source, but using them to really hide your source will likely be a disappointing experience. You can search (including on this site) on how perl2exe programs can be decompiled, and diotalevi wrote a module to assign reasonable names to modules of which the names have been rendered meaningless, as a response to an announcement of a program to obfuscate your source.

Experts would say: "use a proper license", and "Only crappy perl programmers really ask about hiding their source, likely out of shame of what they charge a lot of money for."

Replies are listed 'Best First'.
Re^2: Hiding your Script
by sh1tn (Priest) on May 30, 2005 at 12:31 UTC

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2020-11-25 02:56 GMT
Find Nodes?
    Voting Booth?

    No recent polls found