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 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
disassemble
perlcc.PL
pl2exe.pl

After installing perlcc, do I just open a command
prompt and type perlcc -o hello.exe hello.pl?

Does all this work on Windows?  My guess is Yes.


Mike


On 1/11/2019 6:57 AM, Andrew Solomon wrote:
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 don't see the perl code of the source file.

Does that resolve your question?

Andrew



On Fri, Jan 11, 2019 at 9:59 AM Uday Vernekar <vernekaru...@gmail.com <mailto:vernekaru...@gmail.com>> 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 help if anybody knows kindly reply

    With regards
    Uday V G



--
Andrew Solomon

Perl Trainer, Geekuni http://geekuni.com/
and...@geekuni.com <mailto:and...@geekuni.com> // +44 7931 946 062


Reply via email to