LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Perl to executable (https://www.linuxquestions.org/questions/programming-9/perl-to-executable-126905/)

ganninu 12-18-2003 08:11 AM

Perl to executable
 
I know there exists a program which converts perl code to an executable in windows (perl2exe). Is there a similar program for linux??

ganninu

jkobrien 12-18-2003 10:45 AM

I guess you mean, how to convert it to a binary version?

To make it executable, just make sure there's a shebang in the first line (#!/usr/bin/perl or whatever) and 'chmod u+x <perlscript>'.

I don't know how to make a compiled version, but try 'man perlrun'

John

ganninu 12-18-2003 11:18 AM

yes sorry, the title is a bit misleading :/

What i meant is to make a binary version of perl so that people who do not have perl installed in their system, or some generic modules, would still be able to run the program.

llama_meme 12-18-2003 11:20 AM

I think perlcc may be what you're looking for.

Alex

ganninu 12-18-2003 12:23 PM

yes that's it. thanks a lot.


All times are GMT -5. The time now is 10:45 AM.