I believe that you can get the same functionality from the 'getc' function
in PERL. Although I believe that 'getch' returned the 'character' you
pressed not a variable.
Brad Handy
--www.jack-of-all-trades.net
[EMAIL PROTECTED]
> -Original Message-
> From: Thomas Jakub [mailto:[EMAIL P
$c = getc(STDIN);
or in shorter way
$c = getc;
then
ord($c);
returns the ascii value
so in short
ord(getc());
-- Gabor
On 2001.07.11 17:14 Thomas Jakub wrote:
> In c++, there is a functio, getch(), which returns the
> variable of the key you pressed - like enter would be
> 13. How could I do