in reply to ReadKey can't see 0 key...

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))

Replies are listed 'Best First'.
Re^2: ReadKey can't see 0 key...
by markseger (Beadle) on Nov 11, 2010 at 21:17 UTC
    bingo! That was soooo obvious I'm embarrassed I didn't see it myself. I guess that's what can happen with too many cups of coffee - or maybe not enough! Thanks again... -mark