Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^4: Perl 5 Optimizing Compiler

by Anonymous Monk
on Aug 14, 2012 at 07:31 UTC ( #987286=note: print w/replies, xml ) Need Help??

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

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.

Replies are listed 'Best First'.
Re^5: Perl 5 Optimizing Compiler
by CountZero (Bishop) on Aug 14, 2012 at 09:01 UTC
    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.


    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

      You are being pointlessly rude and you are wrong for most definitions of wrong. Rinse and repeat ... the original request was for something that: "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!'"

      You seem to be expecting very clever "experts".

      Enoch was right!
      Enjoy the last years of Rome.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987286]
[choroba]: Heh: I downvoted because...
[hippo]: Nice.

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (10)
As of 2018-02-22 15:17 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (294 votes). Check out past polls.