win2k erase page

2002-08-30 Thread Bob Green
On Win2k, how do I erase the page? This seems like it should be so simple, I've tried... @cmd = ( "cls" ); `@cmd`; from the NT shell, "cls" clears the screen. Any idea's appreciated. thanks -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

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 kno