covert perl code to binary

2019-01-11 Thread Uday Vernekar
Hi all, I have a perl code which I need to covert to binary so that nobody can see the code. we used pp package to make the perl code binary but here the user can see the code which gets created in tmp. Need help if anybody knows kindly reply With regards Uday V G

Re: covert perl code to binary

2019-01-11 Thread Shlomi Fish
Hi Uday, On Fri, 11 Jan 2019 15:29:23 +0530 Uday Vernekar wrote: > Hi all, > > I have a perl code which I need to covert to binary so that nobody can see > the code. > > we used pp package to make the perl code binary but here the user can see > the code which gets created in tmp. > > Need he

Re: covert perl code to binary

2019-01-11 Thread Andrew Solomon
Just a warning - I'm no expert on this topic, but it was such an interesting question I decided to find out for myself :-) I installed B::C and ran https://metacpan.org/pod/distribution/B-C/script/perlcc.PL It actually does the compilation - as opposed to pp which is just packaging it - so you do

Re: covert perl code to binary

2019-01-11 Thread David Mertens
How dumb is your "nobody"? Would Acme::Bleach do the trick? Or something similar? :) On Fri, Jan 11, 2019, 5:01 AM Uday Vernekar Hi all, > > I have a perl code which I need to covert to binary so that nobody can see > the code. > > we used pp package to make the perl code binary but here the use

Re: covert perl code to binary

2019-01-11 Thread Mike Flannigan
I could use some more explanation. B::C is a module that you install from CPAN. I assume I don't put Use B::C at the top of my perl script, but instead perlcc uses it. Is perlcc also a module? Or is that an executable? I think I see that it is composed of 5 files: assemble cc_harness disassembl

Re: covert perl code to binary

2019-01-11 Thread Andrew Solomon
Sorry Mike, I was a bit too terse! Here's what I did on a mac OS X 10.13.6 containing perl-5.26.1 installed with perlbrew. cpanm -n B::C where -n means 'no test' because the first time I tried it the testing failed and I wasn't curious enough to work out what went wrong :-) Then I had a file fo

Re: covert perl code to binary

2019-01-11 Thread Bruce Ferrell
I built it on a Linux box, it blew up so I read the README... that has instructions for how to do it on Windows As noted by another poster, it seems to work in spite of the test blowing up On 1/11/19 5:37 AM, Mike Flannigan wrote: I could use some more explanation. B::C is a module that you

Re: covert perl code to binary

2019-01-11 Thread Mike Flannigan
Thanks.  On Windows I did 'cpan install B::C' and it went on and on with many test fails. After about 3 minutes it threw a 'Perl interpreter has stopped working' error (details below) and when I closed that box it continued with the test fails for another 3+ minutes and then stopped (it was proba

Re: covert perl code to binary

2019-01-11 Thread Mike Flannigan
Thanks. My Strawberry install finally failed with Stopping: 'install' failed for 'B::C'. I am running ver 5.26 of Strawberry. I suspect you mean this Readme file: |INSTALL| |cpan B::C| |On strawberry I needed| |||perl Makefile.PL FIXIN="perl -S pl2bat.bat"| |On Windows and AIX for 5.12 and