system() error return codes

2002-07-23 Thread Bob Green
I need to execute DOS level commands from perl and I must be able to test for success. I've found the system() function and it seems to work except I'm having problems getting the correct error return back. To test the error return I've created this very simple code. In it I try everything I

RE: system() error return codes

2002-07-23 Thread Bob Showalter
-Original Message- From: Bob Green [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 9:11 AM To: [EMAIL PROTECTED] Subject: system() error return codes I need to execute DOS level commands from perl and I must be able to test for success. I've found the system