Here's the code: use Win32::Console; $con = Win32::Console->new(STD_INPUT_HANDLE); @event = $con->Input(); $tmp = $event[6]; print "\n The character typed was: $tmp \n";
For some reason $event[6] is always returning the ascii value of the space character no matter what I type. I am not really sure why. Thank ahead of time for the help. __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]