473,385 Members | 1,742 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

making perl script an executable program.

51
Hello,

i've installed some modules in my unix machine which i'm using in my scripts. however, i'd like to make those scripts executable from any machine, with minimal requirements of perl installed. is it possible ?

thanks,
Jul 17 '08 #1
6 1955
numberwhun
3,509 Expert Mod 2GB
You can look into something like perl2exe, but I don't think anyone here has much experience in using it or any other modules to do so.

Regards,

Jeff
Jul 17 '08 #2
KevinADC
4,059 Expert 2GB
I think when you make a perl program into an executable with perl2exe it includes perl in the executable. Maybe look into perlcc but I have no experience with it myself. Make sure to read the perlcc documentation carefully.
Jul 17 '08 #3
eWish
971 Expert 512MB
How about PAR or PAR::Packer?

--Kevin
Jul 17 '08 #4
zcabeli
51
i'll definetly give it a shot, i'll let you know if i found someting useful,

thanks
Jul 18 '08 #5
cnsabar
40
U can try another way also without installing several modules..

Just make a copy of required modules in one server system.

Call that module exists path using

Expand|Select|Wrap|Line Numbers
  1. use lib 'module exists path';
  2.  
Jul 18 '08 #6
numberwhun
3,509 Expert Mod 2GB
U can try another way also without installing several modules..

Just make a copy of required modules in one server system.

Call that module exists path using

Expand|Select|Wrap|Line Numbers
  1. use lib 'module exists path';
  2.  
Actually, I don't know if that will work. Referencing Perl modules on another machine could run into things like permissions issues and the like. Plus, I don't know if Perl would like it, but I could be wrong.

Regards,

Jeff
Jul 18 '08 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: lamar_air | last post by:
I have a python cgi that i wrote. The way it works is a user fills out necessary information on a web form, click submit and the python script is executed. The script retrieves variables from the...
3
by: lonelyplanet999 | last post by:
Hi, I'm a newbie to perl and is now studying about perl programming, I read some perl programming tutorials online (enter 'Perl tutorial' at google.com) and also find some sample perl scripts...
3
by: dpackwood | last post by:
Hello, I have two different scripts that do pretty much the same thing. The main perl script is on Windows. It runs and in the middle of it, it then calls out another perl script that then...
1
by: Merijn Boom | last post by:
Hi, I would like to know is somebody has experience in showing HTML from a perl executable in the default browser and let that html interact with the perl executable via the browser. This is...
8
by: Jan Danielsson | last post by:
Hello all, How do I make a python script actually a _python_ in unix:ish environments? I know about adding: #!/bin/sh ..as the first row in a shell script, but when I installed python on...
3
by: sir.linying | last post by:
My php script is to call perl scipt which makes use of Spreadsheet::ParseExcel module to parse Excel file. I am able to launch php script from command line so that perl script can run and properly...
0
by: brakesh | last post by:
Hi, I am trying to call a perl program (that connects a webserver database) from a php program via a webbrowser. For example : http://development.noaa.gov/test_exec.php?dataid=8313. The...
2
by: IvanIV | last post by:
Hi All, I have trouble with embedding a Perl interpreter into a C program. I would like to replace some subroutine in a Perl script without changing this script from my C program. I need...
24
by: Peter Michaux | last post by:
I have a Perl script that I want to run as a set-user-ID program. Many OSes don't allow scripts run as set-user-ID. To make this script portable, it seems I need to write a C wrapper program that...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.