Thanks Autrijus.
I don't think I am relying on any of those. Before I upgrade and try
these, I tried a could of other things. 2 things I noticed:
1) -F works were -f does not
2) -F produces a file that is 500K bigger and takes over 20 secs
instead of 3 (for -f) to run.
I looked at the man on pp but I am not sure I understand the
difference but it seems in one case the Bleach filter does work.
Output below:
==========
F:\>pp -F Bleach -o a.exe a.pl
F:\>dir a.exe
Volume in drive F is WIN DATA
Volume Serial Number is F3F8-6824
Directory of F:\
12/19/2003 12:37p 1,872,257 a.exe
1 File(s) 1,872,257 bytes
F:\>a -v
xbook 1.05, Copyright X-ISS 2003 <== Good output
F:\>pp -f Bleach -o a.exe a.pl
F:\>dir a.exe
Volume in drive F is WIN DATA
Volume Serial Number is F3F8-6824
Directory of F:\
12/19/2003 12:37p 1,354,776 a.exe
1 File(s) 1,354,776 bytes
F:\>a -v
<== No output
F:\>
----- Original Message -----
From: "Autrijus Tang" <autrijus@xxxxxxxxxxxx>
To: "Deepak Khosla" <dkhosla@xxxxxxxxx>
Cc: <par@xxxxxxxx>
Sent: Friday, December 19, 2003 7:06 AM
Subject: Re: app built with --filter Bleach option won't run
> On Thu, Dec 18, 2003 at 09:38:44PM -0600, Deepak Khosla wrote:
> > I just downloaded version .76 and tried to use the new --filter
Bleach
> > option as follows:
> > >pp --filter Bleach -o a.exe a.pl
>
> Bleach does not always apply to programs that depends on the DATA
> filehandle, $0's content, or use any self-modifying or filtering
> techniques.
>
> Can you try --filter PodStrip or --filter Bytecode (well, you may
> want Perl 5.8.x for that) and see if they work for you?
>
> Thanks,
> /Autrijus/
>
|