Without trying anything, I'd suggest that ReadKey is returning the string '0' which gets evaluated by perl to be false. Try changing your while to:
while (defined (my $char = ReadKey -1))
In reply to Re: ReadKey can't see 0 key...
by Tanktalus
in thread ReadKey can't see 0 key...
by markseger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |