http://qs321.pair.com?node_id=392747


in reply to Re^2: Perl Decompile
in thread Perl Decompile

Pray, tell me Aristotle why would a compiled binary save the source text (encoded or not)? It seems to me that it would just eat up space, unless they use the source text as input to an embedded Perl-system. But that would be cheating wouldn't it?

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Replies are listed 'Best First'.
Re^4: Perl Decompile
by Elian (Parson) on Sep 21, 2004 at 20:26 UTC
    That's what they do. The source is decrypted on the fly and fed to an embedded perl interpreter.
Re^4: Perl Decompile
by EvilSuggestions (Acolyte) on Sep 21, 2004 at 22:13 UTC
    Why? Well, this is Perl we're talking about, where apparently we want to parse anything we please, anytime we please. Using your source at runtime may bring to mind evil Obfuscated Perl contest entries, but it's sometimes very useful, and is in fact how modules like Pod::Usage work.