> 1) Double clicking my Perl file within Windows Explorer opens within the DOS
> window, but then closes immediately after execution.
>
> It flashes up on the screen and closes itself. Can I prevent this auto
> termination?

`pause`;

or:

system "pause";

Although pause is not documented in either cmd /? or command.com /?, it is
built in to command.com.  You'll see if you open command.com in notepad.
Cmd.exe spawns command.com when a command is executed, but cmd.exe wraps more
functionality around it, including 32-bit capability instead of 16.

/g





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to