Solved

how to create executibles for a perl program

Posted on 2001-08-15
6
280 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
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

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…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 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