Solved

how to create executibles for a perl program

Posted on 2001-08-15
6
283 Views
Last Modified: 2010-03-05
I have created a perl program. I want to create a .exe file for that. I plan to put the .exe file online for our customers to simply download the file and run their scripts from there.
I work on a sun solaris system. I have been searching on the web to find  any software that can convert my perl programs to perl.exe.
What software can I use that will convert my perl program

#! /usr/local/bin/perl

print "this is a test program";

into and executible file.
OR is there a command in perl/unixz that would do the same function i.e. give me a binary/executible file for the above program so that i can use the executable rather then using my perl script.
 
thanks
0
Comment
Question by:jbarlas
6 Comments
 
LVL 6

Accepted Solution

by:
christopher sagayam earned 100 total points
ID: 6390041
0
 

Author Comment

by:jbarlas
ID: 6390139
i think this software has problems with Sun solaris.
0
 
LVL 19

Expert Comment

by:Kim Ryan
ID: 6390225
.exe are Windows executables, not UNIX. Most Soalris systems should come with Perl already installed.
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 51

Expert Comment

by:ahoffmann
ID: 6391501
on UNIX simply do a
   chmod +x your-perl-script
and make shure the very first line in your-per-script looks like:

#! /usr/bin/perl

where /usr/bin/perl is the full path to the perl interpreter (may be found using:  which perl)
0
 
LVL 2

Expert Comment

by:hilltop
ID: 6393738
look here at the perl dev kit it contains a utility that will convert perl script to win32 executable
http://aspn.activestate.com/ASPN/Downloads/PDK/More i dont know of any way to create .exe's on solaris you will need an NT or 2000 box it wont work on win9X either
0
 
LVL 2

Expert Comment

by:hilltop
ID: 6393743
oops works on solaris to sorry
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

On Microsoft Windows, if  when you click or type the name of a .pl file, you get an error "is not recognized as an internal or external command, operable program or batch file", then this means you do not have the .pl file extension associated with …
Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question