Results 1 to 3 of 3
Running external program from CGI/Perl Forum: CGI Perl ForumReplies: 2
Remote program execution using cgi-perl Forum: CGI Perl ForumReplies: 1
How can i execute a perl file within perl programming... Forum: CGI Perl ForumReplies: 1
01-18-2006, 04:23 AM #1
Execute external program in perl/cgi
I want to execute an external program within perl and return its execution status to the calling perl program.
I've tried the below two methods but none seem to be working.
1.$status =system "http://www.abc.com/xyz.pl";
Please advise how to get the problem solved.
08-16-2006, 02:12 PM #2
Re: Execute external program in perl/cgiOriginally Posted by rosefern
10-30-2006, 06:46 PM #3
Re: Execute external program in perl/cgi
rosefern - If your cgi program does nothing more than return a result just use:
then your program will run as a sub of the main program.
if your program returns a variable you can use that variable in the current program, or pass variables from the main program to the xyz.pl