HP-UX - General

Perl coding question, creating EXEs from Perl on HPUX

 
SOLVED
Go to solution
generic_1
Respected Contributor

Perl coding question, creating EXEs from Perl on HPUX

What is the Best/friendliest modules to load for HPUX in Perl that will compile your scripts into useable EXEs under HPUX. I noticed when I was looking on the web that many only list Solaris support and did not want to be fighting library/code issues if I can help it. Anyone here have experience doign this under HPUX.

Many Thanks.
5 REPLIES 5
H.Merijn Brand (procura
Honored Contributor
Solution

Re: Perl coding question, creating EXEs from Perl on HPUX

There is none. I'm honoust.
perlcc is buggy.

You might have a look at "par", which probably comes closest to what you want:
http://search.cpan.org/~autrijus/PAR-0.89/

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
generic_1
Respected Contributor

Re: Perl coding question, creating EXEs from Perl on HPUX

What is the command that you use to build your exe and is Bleach the best utility to hide the source?
Do you have any good syntax examples?
H.Merijn Brand (procura
Honored Contributor

Re: Perl coding question, creating EXEs from Perl on HPUX

There is NO WAY to hide source code.
However hard you try, perl knows how to unraffle itself. I will reveal all code using B::Concise or B::Deparse

There are parts in the FAQ that will tell you about it, and I cannot say that it will be *easy* to reverse engineer perl code, but it for sure will not be hard

Even precompiled code (byte code) is easy to unparse.

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
generic_1
Respected Contributor

Re: Perl coding question, creating EXEs from Perl on HPUX

javascript:openExternal('http://search.cpan.org/~autrijus/PAR-0.89/')
Have you seen this error?
I got the module installed and ran perl pp myscript.pl and I got a "Cant find par loader" error.

Also does Bleach hide just comments or pretty much all text from a simple glance witout prying into it with the above mentioned.

Thanks for the tip on the revealing the source too BTW :).
generic_1
Respected Contributor

Re: Perl coding question, creating EXEs from Perl on HPUX

There seems to be a bug in PAR .89 use PAR .87 on HPUX.