473,509 Members | 2,918 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Opening programs with perl...

2 New Member
So I am new to using Perl, and I am trying to create a Perl program to open a previous Perl program (one I already created) with Perl. what does the script look like/ or what are the commands I have to use for this operation? I am doing this on my PC using windows 2003. Any help would be much appreciated!

Thanks,

>>
Jul 3 '08 #1
3 1599
numberwhun
3,509 Recognized Expert Moderator Specialist
Let me get this right, you want to run a Perl script from another Perl script? Is the calling Perl script going to do more than just the script call? If so, you can do:

Expand|Select|Wrap|Line Numbers
  1. system("/script/to/run");
  2.  
If you look up the system() function on Perldoc, you will get a more definitive description.

Regards,

Jeff
Jul 3 '08 #2
mjg2004
2 New Member
Sorry I was a little unclear on what I am doing, actually (I am very unclear on Perl alone lol) but anyways... I created a Perl script "hello world" named hello.plx it is located in C:\Perl\Perl Programs, now what I am looking to do is create another Perl script to open my hello.plx script....so would that line of code you provided still be correct?

Thanks,

>>
Jul 3 '08 #3
numberwhun
3,509 Recognized Expert Moderator Specialist
Sorry I was a little unclear on what I am doing, actually (I am very unclear on Perl alone lol) but anyways... I created a Perl script "hello world" named hello.plx it is located in C:\Perl\Perl Programs, now what I am looking to do is create another Perl script to open my hello.plx script....so would that line of code you provided still be correct?

Thanks,

>>
Yes, it would still be correct, but again, verify the syntax on Perldoc.

What is the extension "plx" from? Normally you use a '.pl' extension for Perl scripts.

Regards,

Jeff
Jul 3 '08 #4

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

Similar topics

4
2452
by: MJL | last post by:
Suppose you have a perl program that is called by a web page to generate another web page. The program is written to load data from a text file on the server and make certain substitutions in the...
1
2045
by: rk | last post by:
Hi, I'm trying to write a cgi/perl programs to post a report like the following format in which the the user has to feed the values(nos) in the boxes under % Done Qual Rel. Stab P1 p2 P3.......
10
4422
by: Jean-David Beyer | last post by:
I have some programs running on Red Hat Linux 7.3 working with IBM DB2 V6.1 (with all the FixPacks) on my old machine. I have just installed IBM DB2 V8.1 on this (new) machine running Red Hat...
4
2483
by: kj | last post by:
I consider myself quite proficient in C and a few other programming languages, but I have never succeeded in understanding a largish program (such as zsh or ncurses) at the source level. ...
0
1920
by: sandeep ch | last post by:
hi , I am opening a excel sheet from perl but every time i run the program i get a pop up message saying that "This Workbook contains links to other sources" " - To update all linked information...
8
15670
by: VinayKumarParakoti | last post by:
Hi all, I am new to this site and this is my first post. But this issue is of high priority. I am trying to print pdf file in browser using perl script. Onclick on hyperlink a child window...
3
1394
by: sangith | last post by:
Hi, I am working as a software test engineer(testing docsis compliant devices like cable modem). I have done Perl programming involving hashes, files, regex and modules. But right now, I have to...
1
6148
by: mohanprasadgutta | last post by:
Hi, I need help to open a password protected excel file in perl using Win32:OLE. when I tried to open file in normal way at the time of program execution it is prompting me to enter password. I am...
1
1223
by: zcabeli | last post by:
Hello, i've encountered a script which has the following code line on top: eval '(exit $?0)' && eval 'exec perl -w -S $0 ${1+"$@"}' & eval 'exec perl -w -S $0 $argv:q' can anybody...
0
7234
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7136
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...
0
7412
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7505
tracyyun
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...
0
5652
agi2029
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,...
1
5060
isladogs
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...
0
3203
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
441
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.