in reply to RE: RE: Obfuscate my perl code
in thread Obfuscate my perl code

Doubtful.. I would imagine they run just the same. If all you're doing is changing the appearance of the code, variable names, etc., the parser isn't going to have any problem with it, and the resulting bytecode will be indistinguishable. If, however, you're encoding your strings, doing some unusual looping or whatever, you're going to incur some slight penalties if a lot of work normally done at compile time is going to be done (esp. repetitively) at run-time. It all depends on how you go about doing it.

Replies are listed 'Best First'.
RE: RE: RE: RE: Obfuscate my perl code
by little (Curate) on Oct 27, 2000 at 18:46 UTC
    This was my thought as well, but some cool tricks look to me somewhat like obfuscated.
    So I might redefine: How obfuscated is effective perl?
    Have a nice day
    All decision is left to your taste
      Depends on your definition of 'effective'. If you're writing for readability and maintainability, I would say that an effective Perl script isn't obfuscated at all. If you're wanting to take advantage of some efficiency tricks via map and complex data structures (via references), your code becomes slightly harder to read. If you're making use of aliasing and other "magic", things become harder still, but with ample documentation and consistent style, none of this has to appear obfuscated.