Re: how to execute a perl file in cgi?

2004-10-10 Thread Bill Jones
--- Gunnar Hjalmarsson [EMAIL PROTECTED] wrote: Bill Jones wrote: The third way - `` (back-ticks) is highly discouraged. Discouraged? Why? I thought that was depending on what exactly it is you want to do, e.g. whether you want to capture the output from the script you run. Well, it is

Re: how to execute a perl file in cgi?

2004-10-10 Thread Bill Jones
--- Xiangli Zhang [EMAIL PROTECTED] wrote: Since I want to analyse a complicated problem involved with one file.pl, I am suspect the .pl file was not executed. I tried with very simple file.pl only printing one line, but it does not work. The following is the code: the cgi file

how to execute a perl file in cgi?

2004-10-09 Thread Xiangli Zhang
Can anybody tell me how to execute a perl file in perl cgi? E.g test.cgi and file.pl, I want to add one line to execute file.pl in test.cgi. How I can do it? Justin Xiangli Zhang (Justin) 306-310 Decaire Street, Coquitlam BC, Canada, V3K 6X1 phone: 604-9399181

Re: how to execute a perl file in cgi?

2004-10-09 Thread Bill Jones
--- Xiangli Zhang [EMAIL PROTECTED] wrote: Can anybody tell me how to execute a perl file in perl cgi? E.g test.cgi and file.pl, I want to add one line to execute file.pl in test.cgi. How I can do it? There are two paths you can choose for execution: system - which executes and then