Solved

how to create executibles for a perl program

Posted on 2001-08-15
6
279 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now