Solved

Execution order

Posted on 2001-07-03
3
148 Views
Last Modified: 2013-12-25
Using this peice of code
$actualContent = system("/home/kplonk/public_html/cgi-bin/$content");

content is a string such as start.cgi i want to run one cgi in perl form another cgi also writen in perl, the proble is that the location of this stament is the place where execution occours, what i want it the value of $acctualContent to hold the text that is returned by the cgi then i can add this to the html page the the first cgi creates in any location what can i do thanks
kieran
0
Comment
Question by:kplonk
  • 2
3 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 30 total points
ID: 6251637
$actualContent = qx`/home/kplonk/public_html/cgi-bin/$content`;
0
 

Author Comment

by:kplonk
ID: 6267159
Thanks did the job
0
 

Author Comment

by:kplonk
ID: 6284253
Thought i had accepted sorry
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

810 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