http://qs321.pair.com?node_id=266325


in reply to Small Problem with running Perl Scripts in Windows

You could also add this line at the end of your script.

# The script will sleep for 5 seconds before exiting sleep 5;
See "perldoc -f sleep"