in reply to PAR (pp) on lots of standalone scripts

Can PAR completely hide my source code? is one of the topics covered in the PAR FAQ, with a nice quote from Merlyn on the subject. Yesterdays thread Encrypt perl script was on a similar topic.

  • Comment on Re: PAR (pp) on lots of standalone scripts

Replies are listed 'Best First'.
Re^2: PAR (pp) on lots of standalone scripts
by ajwood (Novice) on Jan 28, 2011 at 16:35 UTC
    I'm not looking to get rock-solid encryption, but rather just hide it from mildly curious eyes. I'm just concerned that using pp on everything balloons the installation size. Seems foolish to include a Perl interpreter and every module the script uses *for every script*.

      I was simply commenting on your suggestion of using pp to 'hide' the source, since it extracts everything on execution, and as I pointed out in the other thread I linked to, by default doesn't clean up after itself.

      Regarding size you may want to look at simply creating a PAR archive for each script, the topic of reducing bloat is discussed on the par site linked to previously. See also Re: Wisdom about "packaging" or transporting Perl apps from a previous discussion on a similar topic.

      Cheers