Another quick dirty trick is to just put a
;
at the end of your script. This makes yours script wait for input. When
you hit "enter" it will terminate and the window will close. Of course,
this only works if your script gets to the end. If it runs into a compile
error, you'll see the error message for 3 microseconds before the window
closes... Many editors let you execute commands from the IDE. I like gVim
(steep learning curve but oh-so-snappy once your fingers learn a few simple
commands) Anybody know how to do more sophistocated error trapping or
console execution? Yes, I know, this isn't really even a CGI question. Who
uses a console for CGI development anyway?
-p
-Original Message-
From: Jason Purdy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 21, 2002 8:08 AM
To: [EMAIL PROTECTED]
Subject: Re: console window
At the end of your perl program, add the line:
system( "PAUSE" );
http://www.computing.net/programming/wwwboard/forum/3270.html
HTH,
when i run the perl programs from windows explorer, the console
window opens, executes and closes before i can see anything in it.
thank you
gary rocco
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]