Patrick L. Olson wrote, on Thursday, November 16, 2000 03:49
: I have a question kind of on the same subject if you use the exec()
: function does the parent stay running this was unclear to me in the
: doc's.
What part of the doc isn't clear? From the very top of perldoc -f exec:
exec LIST
exec PROGRAM LIST
The `exec()' function executes a system command *AND
NEVER RETURNS* - use `system()' instead of `exec()' if
you want it to return. It fails and returns FALSE only
if the command does not exist *and* it is executed
directly instead of via your system's command shell (see
below).
>From _Perl_in_a_Nutshell_:
exec command
Terminates the currently running Perl script and executes
the program named in command. ...
I especially like the all caps & asterisks in perldoc.
Joe
==============================================================
Joseph P. Discenza, Sr. Programmer/Analyst
mailto:[EMAIL PROTECTED]
Carleton Inc. http://www.carletoninc.com
219.243.6040 ext. 300 fax: 219.243.6060
Providing Financial Solutions and Compliance for over 30 Years
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web