RE: Press any key to continue...

2002-01-24 Thread Bob Showalter

> -Original Message-
> From: Dmitri Zakharov [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 23, 2002 2:47 PM
> To: [EMAIL PROTECTED]
> Subject: Press any key to continue...
> 
> 
> Hi everybody;
> 
> Here's a perl newbie problem:
> I'm wondering how could I suspend the execution of 
> the perl script untill the user hits any key ( not only Enter )
> 
> Any help is appreciated.

There's a FAQ article on this you might want to check out:

   perldoc -q "read a single character"

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




RE: Press any key to continue...

2002-01-24 Thread John Edwards

Is this on windows??

If so:

system("pause");

HTH

John

-Original Message-
From: Dmitri Zakharov [mailto:[EMAIL PROTECTED]]
Sent: 23 January 2002 19:47
To: [EMAIL PROTECTED]
Subject: Press any key to continue...


Hi everybody;

Here's a perl newbie problem:
I'm wondering how could I suspend the execution of 
the perl script untill the user hits any key ( not only Enter )

Any help is appreciated.

dmitri--; :o(

-- 
Dmitri Zakharov
email: [EMAIL PROTECTED]
phone: (514)938-7389

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


--Confidentiality--.
This E-mail is confidential.  It should not be read, copied, disclosed or
used by any person other than the intended recipient.  Unauthorised use,
disclosure or copying by whatever medium is strictly prohibited and may be
unlawful.  If you have received this E-mail in error please contact the
sender immediately and delete the E-mail from your system.



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