in reply to Running external process WHILE exiting/returning

The exec fucntion does exit perl and executes the external command, never comming back to perl. If you need to exectute a command, evalute its return value, and then go back to perl then you probably want to use the system function:

see "perldoc -f system" for the details

  • Comment on Re: Running external process WHILE exiting/returning