http://www.perlmonks.org?node_id=968439

avbhaskar has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks

I want to use Acme::Bleach for encrypting multiple files in an application. But i am not being able to achieve it. For eg: if file1.pm calls file2.pm, and i invoke Acme::Bleach at the beginning of file2.pm, then file1.pm gets whitened but no effect takes place on file2.pm Again if I run file2.pm and then run file1.pm, both get whitened, and the desired output is not generated. Is there a way in which i can whiten file2.pm without whitening file1.pm and still get the desired output.

Regards,

avbhaskar

Replies are listed 'Best First'.
Re: Query Regarding Acme::Bleach
by moritz (Cardinal) on May 02, 2012 at 12:58 UTC
Re: Query Regarding Acme::Bleach
by marto (Cardinal) on May 02, 2012 at 13:05 UTC
Re: Query Regarding Acme::Bleach
by ww (Archbishop) on May 02, 2012 at 13:09 UTC
    • If you really mean "encrypting" Acme::Bleach isn't a useful too. It's a joke module.
    • if you're trying to prevent a user from reading your code, the best you can do is make it more difficult.
    • If you actually encrypt a script, the user can't execute it without decrypting... which obviates any utility for the encryption.
Re: Query Regarding Acme::Bleach
by Anonymous Monk on May 02, 2012 at 13:00 UTC
    Addition of Bleach at the hardware level should have your software automagically oxidized & whitened. Have you tried that?