in reply to Par::Packer MySQL Select query returns 0 records

semi-OT, but re "to see if we can use it to hide our code in a commercial app," NO. It takes no more than a quick Super Search here, or applying your favorite search engine to this site for terms like Par::Packer and "hide" to find dozens of reasons that trying to hide your code that way is not only hopeless, but also a hopelessly wasteful use of your time.


Questions containing the words "doesn't work" (or their moral equivalent) will usually get a downvote from me unless accompanied by:
  1. code
  2. verbatim error and/or warning messages
  3. a coherent explanation of what "doesn't work actually means.

check Ln42!

  • Comment on Re: Par::Packer MySQL Select query returns 0 records # hiding proprietary code
  • Download Code

Replies are listed 'Best First'.
Re^2: Par::Packer MySQL Select query returns 0 records # hiding proprietary code
by jellisii2 (Hermit) on Apr 22, 2014 at 12:19 UTC
    To reenforce this idea, understand what Par::Packer does: It effectively makes a compressed executable that when run unpacks everything into the system's temp folder and executes your script with the packed in version of perl and all of the dependencies. Finding what's in your script is trivial for anyone remotely familiar with the OS that the pp executable is being run on.

    Also, like I said above, it's a compressed executable. Unpacking the pp executable is trivial. 7zip handles it on Win32, and while I'm not entirely clear as to what does it in other places, it wouldn't be hard to figure it out.