http://www.perlmonks.org?node_id=987121


in reply to Re: Perl 5 Optimizing Compiler
in thread Perl 5 Optimizing Compiler

If you don't want "customers" diddling the code, you can use PerlApp/CavaPackager/PAR (with filters, crypto/whitespace, even used to be a B::Bytecode filter )

Replies are listed 'Best First'.
Re^3: Perl 5 Optimizing Compiler
by CountZero (Bishop) on Aug 13, 2012 at 16:23 UTC
    Your reply wins the "most useless and clueless answer of 2012" prize.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics

      Flexvault said

      So why can't Perl have a '-Compile' like the '-cw' compiler flags that produces a bitecode that can be shipped and run. Every one knows that someone that wants to get the code can, but the casual 'expert' would be deterred by '...It looks like 'C' to me!'

      Anonymous Monk said

      If you don't want "customers" diddling the code, you can use PerlApp/CavaPackager/PAR (with filters, crypto/whitespace, even used to be a B::Bytecode filter )

      CountZero said

      Your reply wins the "most useless and clueless answer of 2012" prize.

      You're wrong CountZero and rude.

        I am not wrong and I am not rude. :)

        Perl does not have a "compile" flag for all the good reasons explained in this discussion, so your argument is invalid ab initio.

        Packing Perl code is just a thinly disguised "zipping" of the interpreter + modules + script. Adding some source-filter code will not make it any more secure or less prone to be looked into. Anyone who can open a Perl File and start a Google search will find countless links to undo the obfuscation. Therefore Anonymous Monk's comment was wrong and likely to misguide our young Monks.

        CountZero

        A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

        My blog: Imperial Deltronics