Welcome to WebmasterWorld Guest from 54.196.144.100

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

Converting perl source code to a binary file.

Help needed!

     

Sarvesh Nagpal

4:56 pm on Jan 16, 2004 (gmt 0)

10+ Year Member



Hello Everyone,

Before I describe my problem, I would like to thank each & everyone of you for contributing towards this great resource.

Regarding my problem, I wish to convert source code in perl to a binary file so that I can distribute it on internet or sell to third party. I really don't want to sell my source code of program as I have invested years of effort into it and don't think any money is equivalent to that :)

Please advise regarding any suitable software which can help me to convert perl code to a LINUX binary file. I know of "Active State" product which converts perl code in windows executable but it doesn't quite solve my purpose.

Also, I have been advised to first convert into C and then compile it but then again a direct method would be better IMO.

This information may be helpful, I need it to run as web service and not a static program.

Thanks in advance.

sugarkane

5:34 pm on Jan 19, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Sarvesh,

Perl actually comes with a compiler module that allows you to translate the Perl source into C, and then compile to an executable. This should be of interest:

[perldoc.com...]

It's only beta / experimental so it may not work as smoothly as you'd like, but it's worth a go?

Sarvesh Nagpal

6:02 pm on Jan 19, 2004 (gmt 0)

10+ Year Member



Thanks sugarkane!

I do think that this information will be helpful *thumbsup*
I will post an update here soon with any success that I achieve in this regard.