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,
6 1971 numberwhun 3,509
Recognized Expert Moderator Specialist
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
KevinADC 4,059
Recognized Expert Specialist
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.
i'll definetly give it a shot, i'll let you know if i found someting useful,
thanks
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 -
use lib 'module exists path';
-
numberwhun 3,509
Recognized Expert Moderator Specialist
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 -
use lib 'module exists path';
-
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
Sign in to post your reply or Sign up for a free account.
Similar topics |
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 form and
writes them to a txt file. The script then calls a executable which
uses this txt file as a set of input parameters.
I'm using this to call the executable
os.system("webtablx4002")
and then i just added webtablx4002 at...
|
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 for study.
For below statements I couldn't understand what is the function of
'$in'. I tried to search through the perl script tutorial pages since
this morning (now it's afternoon) but still couldn't find the
explanation. Could anyone help...
|
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 should run on a Unix box I have. Both
scripts run ok, except for the part when Windows try's to call out the
Unix script. I have it set up where the Unix is mapped through a drive
letter and can drop stuff into the Unix box. It is going through another...
|
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 because we would like to convert some of
our perl scripts (ActiveState) via the Activestate compiler in order to have
some stand alone executables.
|
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
a NetBSD system, I didn't get a "python" executable; only a "python2.4"
| |
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
parse Excel file. However, when I put php script on server side and
then launch php through client request, perl program can't run.
Anyone has any suggestion re how to fix this problem? Thanks a lot,
-Ying
|
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 test_exec.php script that calls the perl program is as follows:
<?php
error_log("inside test_exec \n");
$dataid = $_GET;
$cmd = "/usr/bin/perl /........../db_connect_psql_RS3.pl ". $dataid;
error_log("dataid = $dataid\n");
exec($cmd);
?>
|
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 replace (override build-in function): print() and exit() functions. I know that in Perl script I can’t override print(), but for exit() function I can:
use subs ‘exit’;
sub exit
{
CORE::print “Overriding exit”;
}
exit(1);
|
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 calls exec
or system to give the Perl script the necessary effective permissions.
How can I make the C wrapper program secure? or "more" secure?
The Perl script, which is "-rwsr-xr-x root root" will look at the real
user id and then check a...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |