Ramprasad A Padmanabhan wrote: > > How do I flush stdin. > I am writing an interactive console based script And I want > that all inputs received before my prompt be flushed > > I looked at Term::Readkey but there seems to be no direct > function
use IO::Handle; # At the head of your program and then flush STDIN; whenever necessary, or autoflush STDIN; will force a flush after every print thereafter. HTH, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]