SPUG: Piping a file to perl to execute

Tim Maher tim at consultix-inc.com
Thu Sep 7 14:42:08 PDT 2006


On Thu, Sep 07, 2006 at 02:14:20PM -0700, David S. Patterson wrote:
> I'm trying to kludge together a strategy to protect some perl source code from
> prying eyes (this would be on a Unix-like system).
> 
> Thanx,
> 
> -Pat

Hi Pat,

* You could use Acme::Bleach (or it's more tantalizing variation that
  I solicited from Damian, Acme::Morse) to disguise the source code,
  while still allowing it to be executed

* You could use Filter::Simple (or one of its relatives) to have Perl
  "automatically" convert encrypted source code into plain text for
  compilation. Although a sophisticated user could use Perl's back-end
  facilities to dumpy out the readable source, a casual user won't
  know how to do that

*-------------------------------------------------------------------*
|  Tim Maher, PhD  (206) 781-UNIX   (866) DOC-PERL  (866) DOC-UNIX  |
|  tim at ( Consultix-Inc, TeachMePerl, or TeachMeUnix ) dot Com    |
*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-*
| UPCOMING CLASSES; 9/18: UNIX/Linux Fundamentals  10/9: Basic Perl |
|  * Check out my new book: "Minimal Perl for UNIX/Linux People" *  |
|    See MinimalPerl.com for details, free chapters, and ordering   |
*-------------------------------------------------------------------*


More information about the spug-list mailing list