Hello, I have used an exec to get into a program. I wanted to leave one program (never to return) and start a second. This worked. Now I want to leave the second and go to yet a third program -- not to return to the second. The exec is not working this time -- so I was thinking that I am not using this as it was meant to be used. This is a CGI program -- but the code in question is perl so hopefully I'm on the right list to ask this.
When the following code is executed the first message is printed -- the second is not. if (! $updatemode) { $updatemode = $q->param('EMP') =~ /EMPLOYEES/; print "I'm in the right spot\n\n"; exec './log-entry.cgi'; print "I'm in the wrong spot\n\n"; } Thanks, Maureen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]