require "flush.pl";

&flush(FILEHANDLE)
&printflush(FILEHANDLE, "prompt: ")