--- 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 returns control.
exec - which executes and doesnt return control.

The third way - `` (back-ticks) is highly discouraged.

Cheers;
-Sx-


=====
-Sx-
seeking employment: http://youve-reached-the.endoftheinternet.org/


                


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to