Solved

how to create executibles for a perl program

Posted on 2001-08-15
6
278 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
Comment Utility
0
 

Author Comment

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

Expert Comment

by:Kim Ryan
Comment Utility
.exe are Windows executables, not UNIX. Most Soalris systems should come with Perl already installed.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 51

Expert Comment

by:ahoffmann
Comment Utility
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
Comment Utility
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
Comment Utility
oops works on solaris to sorry
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
binary to char / hexadecimal 5 98
Any syntax error for this clone.plscript 6 124
Awk Question 2 116
File Find regex problem 4 57
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 …
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 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

11 Experts available now in Live!

Get 1:1 Help Now