'exit /b' exits the script but not the command interpreter according to 'help exit'. Sounds to me like Perl is waiting for cmd to die. Remove 'exit /b' and try again or close out the new command box opened by the batch file and see if your Perl script starts again.
Update: I just tried it with a toy version and like ikegami I don't see the problem. I'm using XP. I was mistaken in thinking system() opened another dos box.
In reply to Re: Not returning from batch file
by Gulliver
in thread Not returning from batch file
by alexanderp98
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |