|Just another Perl shrine|
PAR only filters one of two copies of the script to be placed in the executableby atopolc (Pilgrim)
|on Nov 02, 2007 at 17:27 UTC||Need Help??|
atopolc has asked for the wisdom of the Perl Monks concerning the following question:
I am currently using PAR to create an executable that I can deliver to users who don't have perl installed on their machines. The exe has to connect to a database and must contain a password so I thought it would be a good idea to filter the code rather than keep it in plain view. Below is the command I am using to get PAR to filter the code.
pp -f Bleach -o out.exe out.pl
Because the executable is a self extracting zip archive I can open up the contents and take a look with a package like winzip.
To my surprise
There are two versions of the original perl script within the archive. The first is located at
and is filtered. The other copy is located at
and is in plain text.
Does anyone know how to get both copies to filter?